home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The Arcade• / Spacestation Pheta 2.0 ••••• / Spacestation Pheta / Spacestation Pheta.rsrc / CODE_1_Main.txt < prev    next >
Text File  |  1990-09-16  |  188KB  |  3,407 lines

  1. # near model CODE resource
  2. # jump table entries: 16-77 (62 of them)
  3. export_2:
  4. fn00000000:
  5. 00000000  302F 0004                move.w     D0, [A7 + 0x4]
  6. 00000004  43EF 0006                lea.l      A1, [A7 + 0x6]
  7. 00000008  3200                     move.w     D1, D0
  8. 0000000A  E549                     lsl        D1.w, 2
  9. 0000000C  D2C1                     add.w      A1, D1
  10. 0000000E  2051                     movea.l    A0, [A1]
  11. 00000010  2297                     move.l     [A1], [A7]
  12. 00000012  48E7 00E0                movem.l    -[A7], A0,A1,A2
  13. 00000016  7200                     moveq.l    D1, 0x00
  14. 00000018  5248                     addq.w     A0, 1
  15. 0000001A  601A                     bra        +0x1C /* 00000036 */
  16. label0000001C:
  17. 0000001C  2461                     movea.l    A2, -[A1]
  18. 0000001E  7400                     moveq.l    D2, 0x00
  19. 00000020  141A                     move.b     D2, [A2]+
  20. 00000022  D202                     add.b      D1, D2
  21. 00000024  640C                     bcc        +0xE /* 00000032 */
  22. 00000026  9401                     sub.b      D2, D1
  23. 00000028  5302                     subq.b     D2, 1
  24. 0000002A  7000                     moveq.l    D0, 0x00
  25. 0000002C  72FF                     moveq.l    D1, 0xFFFFFFFF
  26. 0000002E  6002                     bra        +0x4 /* 00000032 */
  27. label00000030:
  28. 00000030  10DA                     move.b     [A0]+, [A2]+
  29. label00000032:
  30. 00000032  51CA FFFC                dbf        D2, -0x6 /* 00000030 */
  31. label00000036:
  32. 00000036  51C8 FFE4                dbf        D0, -0x1E /* 0000001C */
  33. 0000003A  4CDF 0700                movem.l    A0,A1,A2, [A7]+
  34. 0000003E  1081                     move.b     [A0], D1
  35. 00000040  2E49                     movea.l    A7, A1
  36. 00000042  5241                     addq.w     D1, 1
  37. 00000044  2057                     movea.l    A0, [A7]
  38. 00000046  4ED0                     jmp        [A0]
  39. export_3:
  40. 00000048  241F                     move.l     D2, [A7]+
  41. 0000004A  301F                     move.w     D0, [A7]+
  42. 0000004C  6C02                     bge        +0x4 /* 00000050 */
  43. 0000004E  7000                     moveq.l    D0, 0x00
  44. label00000050:
  45. 00000050  321F                     move.w     D1, [A7]+
  46. 00000052  6E0C                     bgt        +0xE /* 00000060 */
  47. 00000054  4441                     neg.w      D1
  48. 00000056  5241                     addq.w     D1, 1
  49. 00000058  9041                     sub.w      D0, D1
  50. 0000005A  6C02                     bge        +0x4 /* 0000005E */
  51. 0000005C  7000                     moveq.l    D0, 0x00
  52. label0000005E:
  53. 0000005E  7201                     moveq.l    D1, 0x01
  54. label00000060:
  55. 00000060  205F                     movea.l    A0, [A7]+
  56. 00000062  2257                     movea.l    A1, [A7]
  57. 00000064  2F02                     move.l     -[A7], D2
  58. 00000066  7400                     moveq.l    D2, 0x00
  59. 00000068  1410                     move.b     D2, [A0]
  60. 0000006A  D0C1                     add.w      A0, D1
  61. 0000006C  5242                     addq.w     D2, 1
  62. 0000006E  9441                     sub.w      D2, D1
  63. 00000070  6C02                     bge        +0x4 /* 00000074 */
  64. 00000072  7400                     moveq.l    D2, 0x00
  65. label00000074:
  66. 00000074  B042                     cmp.w      D0, D2
  67. 00000076  6F02                     ble        +0x4 /* 0000007A */
  68. 00000078  3002                     move.w     D0, D2
  69. label0000007A:
  70. 0000007A  12C0                     move.b     [A1]+, D0
  71. 0000007C  6002                     bra        +0x4 /* 00000080 */
  72. label0000007E:
  73. 0000007E  12D8                     move.b     [A1]+, [A0]+
  74. label00000080:
  75. 00000080  51C8 FFFC                dbf        D0, -0x6 /* 0000007E */
  76. 00000084  4E75                     rts
  77. export_4:
  78. label00000086:
  79. 00000086  202D EA06                move.l     D0, [A5 - 0x15FA]
  80. 0000008A  6704                     beq        +0x6 /* 00000090 */
  81. 0000008C  2040                     movea.l    A0, D0
  82. 0000008E  4E90                     jsr        [A0]
  83. label00000090:
  84. 00000090  A9F4                     syscall    ExitToShell
  85. export_5:
  86. 00000092  4EBA 14B0                jsr        [PC + 0x14B0 /* 00001544 */]
  87. 00000096  4EBA 004A                jsr        [PC + 0x4A /* 000000E2 */]
  88. 0000009A  2C4D                     movea.l    A6, A5
  89. 0000009C  536D FFDE                subq.w     [A5 - 0x22], 1
  90. 000000A0  3B7C 0002 FFDC           move.w     [A5 - 0x24], 0x2
  91. 000000A6  426D FFD6                clr.w      [A5 - 0x2A]
  92. 000000AA  42AD EA06                clr.l      [A5 - 0x15FA]
  93. 000000AE  42AD EA0A                clr.l      [A5 - 0x15F6]
  94. 000000B2  42AD EA0E                clr.l      [A5 - 0x15F2]
  95. 000000B6  42AD EA12                clr.l      [A5 - 0x15EE]
  96. 000000BA  426D EA42                clr.w      [A5 - 0x15BE]
  97. 000000BE  426D EA44                clr.w      [A5 - 0x15BC]
  98. 000000C2  50ED EA46                st         [A5 - 0x15BA]
  99. 000000C6  50ED EA47                st         [A5 - 0x15B9]
  100. 000000CA  51ED EA48                sf         [A5 - 0x15B8]
  101. 000000CE  51ED EA49                sf         [A5 - 0x15B7]
  102. 000000D2  303C 07D0                move.w     D0, 0x7D0
  103. 000000D6  4EBA 12BE                jsr        [PC + 0x12BE /* 00001396 */]
  104. 000000DA  2050                     movea.l    A0, [A0]
  105. 000000DC  2B48 EA02                move.l     [A5 - 0x15FE], A0
  106. 000000E0  4E75                     rts
  107. fn000000E2:
  108. 000000E2  598F                     subq.l     A7, 4
  109. 000000E4  2F3C 5A45 524F           move.l     -[A7], 0x5A45524F /* 'ZERO' */
  110. 000000EA  4267                     clr.w      -[A7]
  111. 000000EC  A9A0                     syscall    GetResource
  112. 000000EE  2017                     move.l     D0, [A7]
  113. 000000F0  6604                     bne        +0x6 /* 000000F6 */
  114. 000000F2  588F                     addq.l     A7, 4
  115. 000000F4  4E75                     rts
  116. label000000F6:
  117. 000000F6  2440                     movea.l    A2, D0
  118. 000000F8  598F                     subq.l     A7, 4
  119. 000000FA  2F3C 4441 5441           move.l     -[A7], 0x44415441 /* 'DATA' */
  120. 00000100  4267                     clr.w      -[A7]
  121. 00000102  A9A0                     syscall    GetResource
  122. 00000104  2057                     movea.l    A0, [A7]
  123. 00000106  2050                     movea.l    A0, [A0]
  124. 00000108  2278 0908                movea.l    A1, [0x00000908 /* CurStackBase */]
  125. 0000010C  2452                     movea.l    A2, [A2]
  126. 0000010E  600E                     bra        +0x10 /* 0000011E */
  127. label00000110:
  128. 00000110  32D8                     move.w     [A1]+, [A0]+
  129. 00000112  660A                     bne        +0xC /* 0000011E */
  130. 00000114  321A                     move.w     D1, [A2]+
  131. 00000116  6002                     bra        +0x4 /* 0000011A */
  132. label00000118:
  133. 00000118  4259                     clr.w      [A1]+
  134. label0000011A:
  135. 0000011A  51C9 FFFC                dbf        D1, -0x6 /* 00000118 */
  136. label0000011E:
  137. 0000011E  BBC9                     cmpa.l     A5, A1
  138. 00000120  66EE                     bne        -0x10 /* 00000110 */
  139. 00000122  A9A3                     syscall    ReleaseResource
  140. 00000124  A9A3                     syscall    ReleaseResource
  141. 00000126  598F                     subq.l     A7, 4
  142. 00000128  2F3C 4452 454C           move.l     -[A7], 0x4452454C /* 'DREL' */
  143. 0000012E  4267                     clr.w      -[A7]
  144. 00000130  A9A0                     syscall    GetResource
  145. 00000132  2057                     movea.l    A0, [A7]
  146. 00000134  A025                     syscall    GetHandleSize
  147. 00000136  2050                     movea.l    A0, [A0]
  148. 00000138  E240                     asr        D0.w, 1
  149. 0000013A  240D                     move.l     D2, A5
  150. 0000013C  6006                     bra        +0x8 /* 00000144 */
  151. label0000013E:
  152. 0000013E  3218                     move.w     D1, [A0]+
  153. 00000140  D5B5 1000                add.l      [A5 + D1.w], D2
  154. label00000144:
  155. 00000144  51C8 FFF8                dbf        D0, -0xA /* 0000013E */
  156. 00000148  A9A3                     syscall    ReleaseResource
  157. 0000014A  4E75                     rts
  158. export_6:
  159. 0000014C  487A 0010                pea.l      [PC + 0x10 /* 0000015E, value 0xD '\r', cstring "" */]
  160. label00000150:
  161. 00000150  3F3C 0001                move.w     -[A7], 0x1
  162. 00000154  A9EB                     syscall    Pack4/FP68K
  163. 00000156  4E75                     rts
  164. 00000158  487A 0006                pea.l      [PC + 0x6 /* 00000160, value 0xD4CDF, cstring "" */]
  165. 0000015C  60F2                     bra        -0xC /* 00000150 */
  166. 0000015E  0000 000D                ori.b      D0, 0xD /* '\r' */
  167. 00000162  4CDF 0103                movem.l    D0,D1,A0, [A7]+
  168. 00000166  2257                     movea.l    A1, [A7]
  169. 00000168  48E7 C040                movem.l    -[A7], D0,D1,A1
  170. 0000016C  7000                     moveq.l    D0, 0x00
  171. 0000016E  1010                     move.b     D0, [A0]
  172. label00000170:
  173. 00000170  12D8                     move.b     [A1]+, [A0]+
  174. 00000172  51C8 FFFC                dbf        D0, -0x6 /* 00000170 */
  175. export_7:
  176. 00000176  241F                     move.l     D2, [A7]+
  177. 00000178  301F                     move.w     D0, [A7]+
  178. 0000017A  6C02                     bge        +0x4 /* 0000017E */
  179. 0000017C  7000                     moveq.l    D0, 0x00
  180. label0000017E:
  181. 0000017E  321F                     move.w     D1, [A7]+
  182. 00000180  6E0C                     bgt        +0xE /* 0000018E */
  183. 00000182  4441                     neg.w      D1
  184. 00000184  5241                     addq.w     D1, 1
  185. 00000186  9041                     sub.w      D0, D1
  186. 00000188  6C02                     bge        +0x4 /* 0000018C */
  187. 0000018A  7000                     moveq.l    D0, 0x00
  188. label0000018C:
  189. 0000018C  7201                     moveq.l    D1, 0x01
  190. label0000018E:
  191. 0000018E  205F                     movea.l    A0, [A7]+
  192. 00000190  2F02                     move.l     -[A7], D2
  193. 00000192  7400                     moveq.l    D2, 0x00
  194. 00000194  1410                     move.b     D2, [A0]
  195. 00000196  9441                     sub.w      D2, D1
  196. 00000198  5242                     addq.w     D2, 1
  197. 0000019A  6F18                     ble        +0x1A /* 000001B4 */
  198. 0000019C  B042                     cmp.w      D0, D2
  199. 0000019E  6F02                     ble        +0x4 /* 000001A2 */
  200. 000001A0  3002                     move.w     D0, D2
  201. label000001A2:
  202. 000001A2  9110                     sub.b      [A0], D0
  203. 000001A4  9440                     sub.w      D2, D0
  204. 000001A6  D0C1                     add.w      A0, D1
  205. 000001A8  43F0 0000                lea.l      A1, [A0 + D0.w]
  206. 000001AC  6002                     bra        +0x4 /* 000001B0 */
  207. label000001AE:
  208. 000001AE  10D9                     move.b     [A0]+, [A1]+
  209. label000001B0:
  210. 000001B0  51CA FFFC                dbf        D2, -0x6 /* 000001AE */
  211. label000001B4:
  212. 000001B4  4E75                     rts
  213. export_8:
  214. 000001B6  486D FFCA                pea.l      [A5 - 0x36]
  215. 000001BA  A86E                     syscall    InitGraf
  216. 000001BC  A8FE                     syscall    InitFonts
  217. 000001BE  A912                     syscall    InitWindows
  218. 000001C0  A930                     syscall    InitMenus
  219. 000001C2  A9CC                     syscall    TEInit
  220. 000001C4  487A 001C                pea.l      [PC + 0x1C /* 000001E2, value 0xA9F44E56 */]
  221. 000001C8  A97B                     syscall    InitDialogs
  222. 000001CA  204F                     movea.l    A0, A7
  223. 000001CC  226D EA02                movea.l    A1, [A5 - 0x15FE]
  224. 000001D0  91D1                     sub.l      A0, [A1]
  225. 000001D2  A02D                     syscall    SetApplLimit
  226. 000001D4  4EBA 1386                jsr        [PC + 0x1386 /* 0000155C */]
  227. 000001D8  7209                     moveq.l    D1, 0x09
  228. label000001DA:
  229. 000001DA  A036                     syscall    MoreMasters
  230. 000001DC  51C9 FFFC                dbf        D1, -0x6 /* 000001DA */
  231. 000001E0  4E75                     rts
  232. 000001E2  A9F4                     syscall    ExitToShell
  233. export_9:
  234. 000001E4  4E56 FFF2                link       A6, -0x000E
  235. 000001E8  2F07                     move.l     -[A7], D7
  236. 000001EA  206D FFE4                movea.l    A0, [A5 - 0x1C]
  237. 000001EE  B1D6                     cmpa.l     A0, [A6]
  238. 000001F0  57ED EA49                seq        [A5 - 0x15B7]
  239. 000001F4  70FF                     moveq.l    D0, 0xFFFFFFFF
  240. 000001F6  3D40 FFF2                move.w     [A6 - 0xE], D0
  241. 000001FA  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  242. 000001FE  4879 000B F400           push.l     0xBF400
  243. 00000204  4EBA 0C92                jsr        [PC + 0xC92 /* 00000E98 */]
  244. 00000208  3D40 FFF4                move.w     [A6 - 0xC], D0
  245. 0000020C  3D6E 000A FFF6           move.w     [A6 - 0xA], [A6 + 0xA]
  246. 00000212  3D6E 0008 FFF8           move.w     [A6 - 0x8], [A6 + 0x8]
  247. 00000218  426E FFFA                clr.w      [A6 - 0x6]
  248. 0000021C  426E FFFC                clr.w      [A6 - 0x4]
  249. 00000220  426E FFFE                clr.w      [A6 - 0x2]
  250. 00000224  70FC                     moveq.l    D0, 0xFFFFFFFC
  251. 00000226  3B40 ECF8                move.w     [A5 - 0x1308], D0
  252. 0000022A  700E                     moveq.l    D0, 0x0E
  253. 0000022C  2B40 ED04                move.l     [A5 - 0x12FC], D0
  254. 00000230  41EE FFF2                lea.l      A0, [A6 - 0xE]
  255. 00000234  2B48 ED00                move.l     [A5 - 0x1300], A0
  256. 00000238  42AD ECEC                clr.l      [A5 - 0x1314]
  257. 0000023C  4267                     clr.w      -[A7]
  258. 0000023E  486D ECE0                pea.l      [A5 - 0x1320]
  259. 00000242  1F3C 0001                move.b     -[A7], 0x1
  260. 00000246  4EBA 13D6                jsr        [PC + 0x13D6 /* 0000161E */]
  261. 0000024A  301F                     move.w     D0, [A7]+
  262. 0000024C  6028                     bra        +0x2A /* 00000276 */
  263. label0000024E:
  264. 0000024E  4A2D EA49                tst.b      [A5 - 0x15B7]
  265. 00000252  6722                     beq        +0x24 /* 00000276 */
  266. 00000254  4EBA 11E8                jsr        [PC + 0x11E8 /* 0000143E */]
  267. 00000258  4A00                     tst.b      D0
  268. 0000025A  671A                     beq        +0x1C /* 00000276 */
  269. 0000025C  4278 0280                clr.w      [0x00000280 /* CurPitch */]
  270. 00000260  4267                     clr.w      -[A7]
  271. 00000262  486D ECE0                pea.l      [A5 - 0x1320]
  272. 00000266  4267                     clr.w      -[A7]
  273. 00000268  4EBA 13C6                jsr        [PC + 0x13C6 /* 00001630 */]
  274. 0000026C  301F                     move.w     D0, [A7]+
  275. 0000026E  303C 0007                move.w     D0, 0x7
  276. 00000272  4EED 00A2                jmp        [A5 + 0xA2 /* export_16 */]
  277. label00000276:
  278. 00000276  3E2D ECF0                move.w     D7, [A5 - 0x1310]
  279. 0000027A  4A47                     tst.w      D7
  280. 0000027C  6ED0                     bgt        -0x2E /* 0000024E */
  281. 0000027E  2E1F                     move.l     D7, [A7]+
  282. 00000280  4E5E                     unlink     A6
  283. 00000282  205F                     movea.l    A0, [A7]+
  284. 00000284  4FEF 0008                lea.l      A7, [A7 + 0x8]
  285. 00000288  4ED0                     jmp        [A0]
  286. fn0000028A:
  287. 0000028A  2F0C                     move.l     -[A7], A4
  288. 0000028C  42A7                     clr.l      -[A7]
  289. 0000028E  4EBA 0594                jsr        [PC + 0x594 /* 00000824 */]
  290. 00000292  205F                     movea.l    A0, [A7]+
  291. 00000294  2848                     movea.l    A4, A0
  292. 00000296  2F0C                     move.l     -[A7], A4
  293. 00000298  A915                     syscall    ShowWindow
  294. 0000029A  2F0C                     move.l     -[A7], A4
  295. 0000029C  A91F                     syscall    SelectWindow
  296. 0000029E  2F0C                     move.l     -[A7], A4
  297. 000002A0  4EBA 016C                jsr        [PC + 0x16C /* 0000040E */]
  298. 000002A4  285F                     movea.l    A4, [A7]+
  299. 000002A6  205F                     movea.l    A0, [A7]+
  300. 000002A8  4ED0                     jmp        [A0]
  301. fn000002AA:
  302. 000002AA  6106                     bsr        +0x8 /* 000002B2 */
  303. 000002AC  0454 6578                subi.w     [A4], 0x6578 /* 'ex' */
  304. 000002B0  7400                     moveq.l    D2, 0x00
  305. fn000002B2:
  306. 000002B2  201F                     move.l     D0, [A7]+
  307. 000002B4  4E75                     rts
  308. fn000002B6:
  309. 000002B6  4E56 FFFE                link       A6, -0x0002
  310. 000002BA  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  311. 000002BE  286E 0008                movea.l    A4, [A6 + 0x8]
  312. 000002C2  266C 0098                movea.l    A3, [A4 + 0x98]
  313. 000002C6  2E2B 0032                move.l     D7, [A3 + 0x32]
  314. 000002CA  2C2B 002A                move.l     D6, [A3 + 0x2A]
  315. 000002CE  7A00                     moveq.l    D5, 0x00
  316. 000002D0  282B 002E                move.l     D4, [A3 + 0x2E]
  317. 000002D4  486B 0004                pea.l      [A3 + 0x4]
  318. 000002D8  A8A3                     syscall    EraseRect
  319. 000002DA  302B 004A                move.w     D0, [A3 + 0x4A]
  320. 000002DE  D06B 001A                add.w      D0, [A3 + 0x1A]
  321. 000002E2  3D40 FFFE                move.w     [A6 - 0x2], D0
  322. 000002E6  3F2B 004C                move.w     -[A7], [A3 + 0x4C]
  323. 000002EA  3F00                     move.w     -[A7], D0
  324. 000002EC  A893                     syscall    MoveTo
  325. 000002EE  7A00                     moveq.l    D5, 0x00
  326. 000002F0  601A                     bra        +0x1C /* 0000030C */
  327. label000002F2:
  328. 000002F2  BC87                     cmp.l      D6, D7
  329. 000002F4  6F02                     ble        +0x4 /* 000002F8 */
  330. 000002F6  7C00                     moveq.l    D6, 0x00
  331. label000002F8:
  332. 000002F8  2006                     move.l     D0, D6
  333. 000002FA  5286                     addq.l     D6, 1
  334. 000002FC  206B 000C                movea.l    A0, [A3 + 0xC]
  335. 00000300  D090                     add.l      D0, [A0]
  336. 00000302  2040                     movea.l    A0, D0
  337. 00000304  0C10 000D                cmpi.b     [A0], 0xD /* '\r' */
  338. 00000308  6602                     bne        +0x4 /* 0000030C */
  339. 0000030A  5245                     addq.w     D5, 1
  340. label0000030C:
  341. 0000030C  BC84                     cmp.l      D6, D4
  342. 0000030E  6700 0076                beq        +0x78 /* 00000386 */
  343. 00000312  BA6B 0042                cmp.w      D5, [A3 + 0x42]
  344. 00000316  6DDA                     blt        -0x24 /* 000002F2 */
  345. 00000318  6000 006C                bra        +0x6E /* 00000386 */
  346. label0000031C:
  347. 0000031C  BC87                     cmp.l      D6, D7
  348. 0000031E  6F02                     ble        +0x4 /* 00000322 */
  349. 00000320  7C00                     moveq.l    D6, 0x00
  350. label00000322:
  351. 00000322  302C 0030                move.w     D0, [A4 + 0x30]
  352. 00000326  B06B 0008                cmp.w      D0, [A3 + 0x8]
  353. 0000032A  6E00 005E                bgt        +0x60 /* 0000038A */
  354. 0000032E  2606                     move.l     D3, D6
  355. 00000330  600A                     bra        +0xC /* 0000033C */
  356. label00000332:
  357. 00000332  B687                     cmp.l      D3, D7
  358. 00000334  6716                     beq        +0x18 /* 0000034C */
  359. 00000336  B684                     cmp.l      D3, D4
  360. 00000338  6712                     beq        +0x14 /* 0000034C */
  361. 0000033A  5283                     addq.l     D3, 1
  362. label0000033C:
  363. 0000033C  206B 000C                movea.l    A0, [A3 + 0xC]
  364. 00000340  2010                     move.l     D0, [A0]
  365. 00000342  D083                     add.l      D0, D3
  366. 00000344  2040                     movea.l    A0, D0
  367. 00000346  0C10 000D                cmpi.b     [A0], 0xD /* '\r' */
  368. 0000034A  66E6                     bne        -0x18 /* 00000332 */
  369. label0000034C:
  370. 0000034C  2003                     move.l     D0, D3
  371. 0000034E  9086                     sub.l      D0, D6
  372. 00000350  206B 000C                movea.l    A0, [A3 + 0xC]
  373. 00000354  2F10                     move.l     -[A7], [A0]
  374. 00000356  3F06                     move.w     -[A7], D6
  375. 00000358  3F00                     move.w     -[A7], D0
  376. 0000035A  A885                     syscall    DrawText
  377. 0000035C  2C03                     move.l     D6, D3
  378. 0000035E  BC84                     cmp.l      D6, D4
  379. 00000360  6728                     beq        +0x2A /* 0000038A */
  380. 00000362  2006                     move.l     D0, D6
  381. 00000364  5286                     addq.l     D6, 1
  382. 00000366  206B 000C                movea.l    A0, [A3 + 0xC]
  383. 0000036A  D090                     add.l      D0, [A0]
  384. 0000036C  2040                     movea.l    A0, D0
  385. 0000036E  0C10 000D                cmpi.b     [A0], 0xD /* '\r' */
  386. 00000372  6612                     bne        +0x14 /* 00000386 */
  387. 00000374  302B 0018                move.w     D0, [A3 + 0x18]
  388. 00000378  D16E FFFE                add.w      [A6 - 0x2], D0
  389. 0000037C  3F3C 0006                move.w     -[A7], 0x6
  390. 00000380  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  391. 00000384  A893                     syscall    MoveTo
  392. label00000386:
  393. 00000386  BC84                     cmp.l      D6, D4
  394. 00000388  6692                     bne        -0x6C /* 0000031C */
  395. label0000038A:
  396. 0000038A  276C 0030 0014           move.l     [A3 + 0x14], [A4 + 0x30]
  397. 00000390  4CDF 18F8                movem.l    D3,D4,D5,D6,D7,A3,A4, [A7]+
  398. 00000394  4E5E                     unlink     A6
  399. 00000396  4E75                     rts
  400. fn00000398:
  401. 00000398  4E56 FFFE                link       A6, -0x0002
  402. 0000039C  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  403. 000003A0  286E 0008                movea.l    A4, [A6 + 0x8]
  404. 000003A4  266C 0098                movea.l    A3, [A4 + 0x98]
  405. 000003A8  4267                     clr.w      -[A7]
  406. 000003AA  2F2B 0026                move.l     -[A7], [A3 + 0x26]
  407. 000003AE  A960                     syscall    GetControlValue/GetCtlValue
  408. 000003B0  301F                     move.w     D0, [A7]+
  409. 000003B2  322B 0042                move.w     D1, [A3 + 0x42]
  410. 000003B6  9240                     sub.w      D1, D0
  411. 000003B8  3E01                     move.w     D7, D1
  412. 000003BA  4A47                     tst.w      D7
  413. 000003BC  6742                     beq        +0x44 /* 00000400 */
  414. 000003BE  9F6B 0042                sub.w      [A3 + 0x42], D7
  415. 000003C2  302B 0018                move.w     D0, [A3 + 0x18]
  416. 000003C6  C1C7                     muls.w     D0, D7
  417. 000003C8  42A7                     clr.l      -[A7]
  418. 000003CA  3D40 FFFE                move.w     [A6 - 0x2], D0
  419. 000003CE  A8D8                     syscall    NewRgn
  420. 000003D0  205F                     movea.l    A0, [A7]+
  421. 000003D2  2448                     movea.l    A2, A0
  422. 000003D4  486B 0004                pea.l      [A3 + 0x4]
  423. 000003D8  4267                     clr.w      -[A7]
  424. 000003DA  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  425. 000003DE  4850                     pea.l      [A0]
  426. 000003E0  A8EF                     syscall    ScrollRect
  427. 000003E2  2F0A                     move.l     -[A7], A2
  428. 000003E4  A879                     syscall    SetClip
  429. 000003E6  2F0C                     move.l     -[A7], A4
  430. 000003E8  4EBA FECC                jsr        [PC - 0x134 /* 000002B6 */]
  431. 000003EC  588F                     addq.l     A7, 4
  432. 000003EE  206D FFCA                movea.l    A0, [A5 - 0x36]
  433. 000003F2  4868 0010                pea.l      [A0 + 0x10]
  434. 000003F6  A87B                     syscall    ClipRect
  435. 000003F8  2F0A                     move.l     -[A7], A2
  436. 000003FA  A929                     syscall    ValidRgn
  437. 000003FC  2F0A                     move.l     -[A7], A2
  438. 000003FE  A8D9                     syscall    DisposRgn/DisposeRgn
  439. label00000400:
  440. 00000400  4CDF 1C80                movem.l    D7,A2,A3,A4, [A7]+
  441. 00000404  4E5E                     unlink     A6
  442. 00000406  205F                     movea.l    A0, [A7]+
  443. 00000408  4FEF 0004                lea.l      A7, [A7 + 0x4]
  444. 0000040C  4ED0                     jmp        [A0]
  445. fn0000040E:
  446. 0000040E  4E56 FFE4                link       A6, -0x001C
  447. 00000412  48E7 0038                movem.l    -[A7], A2,A3,A4
  448. 00000416  286E 0008                movea.l    A4, [A6 + 0x8]
  449. 0000041A  246C 0098                movea.l    A2, [A4 + 0x98]
  450. 0000041E  4267                     clr.w      -[A7]
  451. 00000420  486E FFF0                pea.l      [A6 - 0x10]
  452. 00000424  A911                     syscall    CheckUpdate
  453. 00000426  101F                     move.b     D0, [A7]+
  454. 00000428  4A00                     tst.b      D0
  455. 0000042A  6700 008A                beq        +0x8C /* 000004B6 */
  456. 0000042E  B9EE FFF2                cmpa.l     A4, [A6 - 0xE]
  457. 00000432  6600 0082                bne        +0x84 /* 000004B6 */
  458. 00000436  486D EB40                pea.l      [A5 - 0x14C0]
  459. 0000043A  A874                     syscall    GetPort
  460. 0000043C  2F0C                     move.l     -[A7], A4
  461. 0000043E  A873                     syscall    SetPort
  462. 00000440  2F0C                     move.l     -[A7], A4
  463. 00000442  A922                     syscall    BeginUpdate
  464. 00000444  42A7                     clr.l      -[A7]
  465. 00000446  A8D8                     syscall    NewRgn
  466. 00000448  205F                     movea.l    A0, [A7]+
  467. 0000044A  2648                     movea.l    A3, A0
  468. 0000044C  4850                     pea.l      [A0]
  469. 0000044E  A87A                     syscall    GetClip
  470. 00000450  486A 0004                pea.l      [A2 + 0x4]
  471. 00000454  A87B                     syscall    ClipRect
  472. 00000456  486A 0004                pea.l      [A2 + 0x4]
  473. 0000045A  A8A3                     syscall    EraseRect
  474. 0000045C  2F0C                     move.l     -[A7], A4
  475. 0000045E  4EBA FE56                jsr        [PC - 0x1AA /* 000002B6 */]
  476. 00000462  588F                     addq.l     A7, 4
  477. 00000464  206D FFCA                movea.l    A0, [A5 - 0x36]
  478. 00000468  2D68 0030 FFE4           move.l     [A6 - 0x1C], [A0 + 0x30]
  479. 0000046E  486C 0010                pea.l      [A4 + 0x10]
  480. 00000472  A87B                     syscall    ClipRect
  481. 00000474  2F0C                     move.l     -[A7], A4
  482. 00000476  A969                     syscall    DrawControls
  483. 00000478  41EE FFE8                lea.l      A0, [A6 - 0x18]
  484. 0000047C  43EC 0010                lea.l      A1, [A4 + 0x10]
  485. 00000480  20D9                     move.l     [A0]+, [A1]+
  486. 00000482  20D9                     move.l     [A0]+, [A1]+
  487. 00000484  302E FFEE                move.w     D0, [A6 - 0x12]
  488. 00000488  0640 FFF1                addi.w     D0, 0xFFF1
  489. 0000048C  3D40 FFEA                move.w     [A6 - 0x16], D0
  490. 00000490  486E FFE8                pea.l      [A6 - 0x18]
  491. 00000494  A87B                     syscall    ClipRect
  492. 00000496  2F0C                     move.l     -[A7], A4
  493. 00000498  A904                     syscall    DrawGrowIcon
  494. 0000049A  2F0B                     move.l     -[A7], A3
  495. 0000049C  A879                     syscall    SetClip
  496. 0000049E  2F0B                     move.l     -[A7], A3
  497. 000004A0  A8D9                     syscall    DisposRgn/DisposeRgn
  498. 000004A2  206D FFCA                movea.l    A0, [A5 - 0x36]
  499. 000004A6  216E FFE4 0030           move.l     [A0 + 0x30], [A6 - 0x1C]
  500. 000004AC  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  501. 000004B0  A873                     syscall    SetPort
  502. 000004B2  2F0C                     move.l     -[A7], A4
  503. 000004B4  A923                     syscall    EndUpdate
  504. label000004B6:
  505. 000004B6  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  506. 000004BA  4E5E                     unlink     A6
  507. 000004BC  205F                     movea.l    A0, [A7]+
  508. 000004BE  4FEF 0004                lea.l      A7, [A7 + 0x4]
  509. 000004C2  4ED0                     jmp        [A0]
  510. fn000004C4:
  511. 000004C4  4E56 FFF8                link       A6, -0x0008
  512. 000004C8  48E7 0338                movem.l    -[A7], D6,D7,A2,A3,A4
  513. 000004CC  286E 0008                movea.l    A4, [A6 + 0x8]
  514. 000004D0  266C 0098                movea.l    A3, [A4 + 0x98]
  515. 000004D4  486C 0010                pea.l      [A4 + 0x10]
  516. 000004D8  A87B                     syscall    ClipRect
  517. 000004DA  276C 0014 0008           move.l     [A3 + 0x8], [A4 + 0x14]
  518. 000004E0  246B 0026                movea.l    A2, [A3 + 0x26]
  519. 000004E4  200A                     move.l     D0, A2
  520. 000004E6  6700 006A                beq        +0x6C /* 00000552 */
  521. 000004EA  302C 0016                move.w     D0, [A4 + 0x16]
  522. 000004EE  5240                     addq.w     D0, 1
  523. 000004F0  3D40 FFFE                move.w     [A6 - 0x2], D0
  524. 000004F4  302C 0016                move.w     D0, [A4 + 0x16]
  525. 000004F8  0640 FFF1                addi.w     D0, 0xFFF1
  526. 000004FC  3D40 FFFA                move.w     [A6 - 0x6], D0
  527. 00000500  302C 0014                move.w     D0, [A4 + 0x14]
  528. 00000504  0640 FFF2                addi.w     D0, 0xFFF2
  529. 00000508  3D40 FFFC                move.w     [A6 - 0x4], D0
  530. 0000050C  70FF                     moveq.l    D0, 0xFFFFFFFF
  531. 0000050E  3D40 FFF8                move.w     [A6 - 0x8], D0
  532. 00000512  2052                     movea.l    A0, [A2]
  533. 00000514  5088                     addq.l     A0, 8
  534. 00000516  43EE FFF8                lea.l      A1, [A6 - 0x8]
  535. 0000051A  20D9                     move.l     [A0]+, [A1]+
  536. 0000051C  20D9                     move.l     [A0]+, [A1]+
  537. 0000051E  376E FFFA 000A           move.w     [A3 + 0xA], [A6 - 0x6]
  538. 00000524  302B 0008                move.w     D0, [A3 + 0x8]
  539. 00000528  906B 0004                sub.w      D0, [A3 + 0x4]
  540. 0000052C  48C0                     ext.l      D0
  541. 0000052E  81EB 0018                divs.w     D0, [A3 + 0x18]
  542. 00000532  3E00                     move.w     D7, D0
  543. 00000534  3740 003A                move.w     [A3 + 0x3A], D0
  544. 00000538  7C00                     moveq.l    D6, 0x00
  545. 0000053A  3047                     movea.w    A0, D7
  546. 0000053C  B1EB 0010                cmpa.l     A0, [A3 + 0x10]
  547. 00000540  6C0A                     bge        +0xC /* 0000054C */
  548. 00000542  3047                     movea.w    A0, D7
  549. 00000544  202B 0010                move.l     D0, [A3 + 0x10]
  550. 00000548  9088                     sub.l      D0, A0
  551. 0000054A  3C00                     move.w     D6, D0
  552. label0000054C:
  553. 0000054C  2F0A                     move.l     -[A7], A2
  554. 0000054E  3F06                     move.w     -[A7], D6
  555. 00000550  A965                     syscall    SetControlMaximum/SetMaxCtl
  556. label00000552:
  557. 00000552  302B 0018                move.w     D0, [A3 + 0x18]
  558. 00000556  C1C7                     muls.w     D0, D7
  559. 00000558  D06B 0004                add.w      D0, [A3 + 0x4]
  560. 0000055C  3740 0008                move.w     [A3 + 0x8], D0
  561. 00000560  3D6B 0008 FFF8           move.w     [A6 - 0x8], [A3 + 0x8]
  562. 00000566  206D FFCA                movea.l    A0, [A5 - 0x36]
  563. 0000056A  3D68 0014 FFFC           move.w     [A6 - 0x4], [A0 + 0x14]
  564. 00000570  3D6B 0006 FFFA           move.w     [A6 - 0x6], [A3 + 0x6]
  565. 00000576  3D6B 000A FFFE           move.w     [A6 - 0x2], [A3 + 0xA]
  566. 0000057C  486E FFF8                pea.l      [A6 - 0x8]
  567. 00000580  A8A3                     syscall    EraseRect
  568. 00000582  4CDF 1CC0                movem.l    D6,D7,A2,A3,A4, [A7]+
  569. 00000586  4E5E                     unlink     A6
  570. 00000588  4E75                     rts
  571. fn0000058A:
  572. 0000058A  4E56 0000                link       A6, 0
  573. 0000058E  48E7 0018                movem.l    -[A7], A3,A4
  574. 00000592  206E 0008                movea.l    A0, [A6 + 0x8]
  575. 00000596  2868 0098                movea.l    A4, [A0 + 0x98]
  576. 0000059A  4AAC 0026                tst.l      [A4 + 0x26]
  577. 0000059E  6738                     beq        +0x3A /* 000005D8 */
  578. 000005A0  42A7                     clr.l      -[A7]
  579. 000005A2  A8D8                     syscall    NewRgn
  580. 000005A4  205F                     movea.l    A0, [A7]+
  581. 000005A6  2648                     movea.l    A3, A0
  582. 000005A8  4850                     pea.l      [A0]
  583. 000005AA  A87A                     syscall    GetClip
  584. 000005AC  206C 0026                movea.l    A0, [A4 + 0x26]
  585. 000005B0  2050                     movea.l    A0, [A0]
  586. 000005B2  4868 0008                pea.l      [A0 + 0x8]
  587. 000005B6  A87B                     syscall    ClipRect
  588. 000005B8  206C 0026                movea.l    A0, [A4 + 0x26]
  589. 000005BC  2050                     movea.l    A0, [A0]
  590. 000005BE  4868 0008                pea.l      [A0 + 0x8]
  591. 000005C2  A8A3                     syscall    EraseRect
  592. 000005C4  206C 0026                movea.l    A0, [A4 + 0x26]
  593. 000005C8  2050                     movea.l    A0, [A0]
  594. 000005CA  4868 0008                pea.l      [A0 + 0x8]
  595. 000005CE  A928                     syscall    InvalRect
  596. 000005D0  2F0B                     move.l     -[A7], A3
  597. 000005D2  A879                     syscall    SetClip
  598. 000005D4  2F0B                     move.l     -[A7], A3
  599. 000005D6  A8D9                     syscall    DisposRgn/DisposeRgn
  600. label000005D8:
  601. 000005D8  4CDF 1800                movem.l    A3,A4, [A7]+
  602. 000005DC  4E5E                     unlink     A6
  603. 000005DE  4E75                     rts
  604. 000005E0  4E56 0000                link       A6, 0
  605. 000005E4  48E7 0038                movem.l    -[A7], A2,A3,A4
  606. 000005E8  266E 0008                movea.l    A3, [A6 + 0x8]
  607. 000005EC  286E 000C                movea.l    A4, [A6 + 0xC]
  608. 000005F0  246C 0098                movea.l    A2, [A4 + 0x98]
  609. 000005F4  486D EB40                pea.l      [A5 - 0x14C0]
  610. 000005F8  A874                     syscall    GetPort
  611. 000005FA  2F0C                     move.l     -[A7], A4
  612. 000005FC  A873                     syscall    SetPort
  613. 000005FE  2F0C                     move.l     -[A7], A4
  614. 00000600  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  615. 00000604  3F13                     move.w     -[A7], [A3]
  616. 00000606  4267                     clr.w      -[A7]
  617. 00000608  A91B                     syscall    MoveWindow
  618. 0000060A  2F0C                     move.l     -[A7], A4
  619. 0000060C  4EBA FF7C                jsr        [PC - 0x84 /* 0000058A */]
  620. 00000610  588F                     addq.l     A7, 4
  621. 00000612  302B 0006                move.w     D0, [A3 + 0x6]
  622. 00000616  906B 0002                sub.w      D0, [A3 + 0x2]
  623. 0000061A  322B 0004                move.w     D1, [A3 + 0x4]
  624. 0000061E  9253                     sub.w      D1, [A3]
  625. 00000620  2F0C                     move.l     -[A7], A4
  626. 00000622  3F00                     move.w     -[A7], D0
  627. 00000624  3F01                     move.w     -[A7], D1
  628. 00000626  1F3C 0001                move.b     -[A7], 0x1
  629. 0000062A  A91D                     syscall    SizeWindow
  630. 0000062C  2F0C                     move.l     -[A7], A4
  631. 0000062E  4EBA FE94                jsr        [PC - 0x16C /* 000004C4 */]
  632. 00000632  588F                     addq.l     A7, 4
  633. 00000634  2F0C                     move.l     -[A7], A4
  634. 00000636  4EBA FD60                jsr        [PC - 0x2A0 /* 00000398 */]
  635. 0000063A  2F0C                     move.l     -[A7], A4
  636. 0000063C  4EBA FF4C                jsr        [PC - 0xB4 /* 0000058A */]
  637. 00000640  588F                     addq.l     A7, 4
  638. 00000642  486C 0010                pea.l      [A4 + 0x10]
  639. 00000646  A928                     syscall    InvalRect
  640. 00000648  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  641. 0000064C  A873                     syscall    SetPort
  642. 0000064E  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  643. 00000652  4E5E                     unlink     A6
  644. 00000654  205F                     movea.l    A0, [A7]+
  645. 00000656  4FEF 0008                lea.l      A7, [A7 + 0x8]
  646. 0000065A  4ED0                     jmp        [A0]
  647. fn0000065C:
  648. 0000065C  4E56 0000                link       A6, 0
  649. 00000660  48E7 0018                movem.l    -[A7], A3,A4
  650. 00000664  286E 0008                movea.l    A4, [A6 + 0x8]
  651. 00000668  41ED EAE6                lea.l      A0, [A5 - 0x151A]
  652. 0000066C  2648                     movea.l    A3, A0
  653. 0000066E  268C                     move.l     [A3], A4
  654. 00000670  7006                     moveq.l    D0, 0x06
  655. 00000672  3740 004C                move.w     [A3 + 0x4C], D0
  656. 00000676  7005                     moveq.l    D0, 0x05
  657. 00000678  3740 004A                move.w     [A3 + 0x4A], D0
  658. 0000067C  276B 004A 0004           move.l     [A3 + 0x4], [A3 + 0x4A]
  659. 00000682  376C 0016 000A           move.w     [A3 + 0xA], [A4 + 0x16]
  660. 00000688  376C 0014 0008           move.w     [A3 + 0x8], [A4 + 0x14]
  661. 0000068E  066B FFF0 000A           addi.w     [A3 + 0xA], 0xFFF0
  662. 00000694  066B FFF0 0008           addi.w     [A3 + 0x8], 0xFFF0
  663. 0000069A  42AB 0010                clr.l      [A3 + 0x10]
  664. 0000069E  486B 001A                pea.l      [A3 + 0x1A]
  665. 000006A2  A88B                     syscall    GetFontInfo
  666. 000006A4  302B 0020                move.w     D0, [A3 + 0x20]
  667. 000006A8  D06B 001A                add.w      D0, [A3 + 0x1A]
  668. 000006AC  D06B 001C                add.w      D0, [A3 + 0x1C]
  669. 000006B0  3740 0018                move.w     [A3 + 0x18], D0
  670. 000006B4  276B 004A 0014           move.l     [A3 + 0x14], [A3 + 0x4A]
  671. 000006BA  302B 001A                move.w     D0, [A3 + 0x1A]
  672. 000006BE  D16B 0014                add.w      [A3 + 0x14], D0
  673. 000006C2  42AB 002E                clr.l      [A3 + 0x2E]
  674. 000006C6  42AB 002A                clr.l      [A3 + 0x2A]
  675. 000006CA  306E 000C                movea.w    A0, [A6 + 0xC]
  676. 000006CE  2748 0032                move.l     [A3 + 0x32], A0
  677. 000006D2  42AB 0036                clr.l      [A3 + 0x36]
  678. 000006D6  42AB 003C                clr.l      [A3 + 0x3C]
  679. 000006DA  42AB 0046                clr.l      [A3 + 0x46]
  680. 000006DE  426B 0040                clr.w      [A3 + 0x40]
  681. 000006E2  426B 0042                clr.w      [A3 + 0x42]
  682. 000006E6  422B 0044                clr.b      [A3 + 0x44]
  683. 000006EA  42AB 0056                clr.l      [A3 + 0x56]
  684. 000006EE  42A7                     clr.l      -[A7]
  685. 000006F0  306E 000C                movea.w    A0, [A6 + 0xC]
  686. 000006F4  2F08                     move.l     -[A7], A0
  687. 000006F6  4EBA 0EAE                jsr        [PC + 0xEAE /* 000015A6 */]
  688. 000006FA  205F                     movea.l    A0, [A7]+
  689. 000006FC  2748 000C                move.l     [A3 + 0xC], A0
  690. 00000700  200B                     move.l     D0, A3
  691. 00000702  4CDF 1800                movem.l    A3,A4, [A7]+
  692. 00000706  4E5E                     unlink     A6
  693. 00000708  4E75                     rts
  694. fn0000070A:
  695. 0000070A  4E56 FFF6                link       A6, -0x000A
  696. 0000070E  48E7 0118                movem.l    -[A7], D7,A3,A4
  697. 00000712  422E FFFF                clr.b      [A6 - 0x1]
  698. 00000716  486E FFF6                pea.l      [A6 - 0xA]
  699. 0000071A  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  700. 0000071E  3F3C 0032                move.w     -[A7], 0x32 /* '2' */
  701. 00000722  3F3C 01F4                move.w     -[A7], 0x1F4
  702. 00000726  3F3C 0118                move.w     -[A7], 0x118
  703. 0000072A  A8A7                     syscall    SetRect
  704. 0000072C  4EBA FB7C                jsr        [PC - 0x484 /* 000002AA */]
  705. 00000730  42A7                     clr.l      -[A7]
  706. 00000732  486D EA4A                pea.l      [A5 - 0x15B6]
  707. 00000736  486E FFF6                pea.l      [A6 - 0xA]
  708. 0000073A  2F00                     move.l     -[A7], D0
  709. 0000073C  4267                     clr.w      -[A7]
  710. 0000073E  3F3C 0008                move.w     -[A7], 0x8
  711. 00000742  42A7                     clr.l      -[A7]
  712. 00000744  1F3C 0001                move.b     -[A7], 0x1
  713. 00000748  42A7                     clr.l      -[A7]
  714. 0000074A  A913                     syscall    NewWindow
  715. 0000074C  205F                     movea.l    A0, [A7]+
  716. 0000074E  2848                     movea.l    A4, A0
  717. 00000750  486D EB40                pea.l      [A5 - 0x14C0]
  718. 00000754  A874                     syscall    GetPort
  719. 00000756  2F0C                     move.l     -[A7], A4
  720. 00000758  A873                     syscall    SetPort
  721. 0000075A  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  722. 0000075E  A887                     syscall    TextFont
  723. 00000760  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  724. 00000764  A88A                     syscall    TextSize
  725. 00000766  397C 7FFE 006C           move.w     [A4 + 0x6C], 0x7FFE
  726. 0000076C  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  727. 00000770  2F0C                     move.l     -[A7], A4
  728. 00000772  4EBA FEE8                jsr        [PC - 0x118 /* 0000065C */]
  729. 00000776  5C8F                     addq.l     A7, 6
  730. 00000778  2640                     movea.l    A3, D0
  731. 0000077A  2F0C                     move.l     -[A7], A4
  732. 0000077C  2F00                     move.l     -[A7], D0
  733. 0000077E  A918                     syscall    SetWRefCon
  734. 00000780  302B 0008                move.w     D0, [A3 + 0x8]
  735. 00000784  906B 0004                sub.w      D0, [A3 + 0x4]
  736. 00000788  3E00                     move.w     D7, D0
  737. 0000078A  3047                     movea.w    A0, D7
  738. 0000078C  2008                     move.l     D0, A0
  739. 0000078E  81EB 0018                divs.w     D0, [A3 + 0x18]
  740. 00000792  3740 003A                move.w     [A3 + 0x3A], D0
  741. 00000796  302B 0018                move.w     D0, [A3 + 0x18]
  742. 0000079A  C1EB 003A                muls.w     D0, [A3 + 0x3A]
  743. 0000079E  D06B 004A                add.w      D0, [A3 + 0x4A]
  744. 000007A2  0640 000F                addi.w     D0, 0xF
  745. 000007A6  3E00                     move.w     D7, D0
  746. 000007A8  2F0C                     move.l     -[A7], A4
  747. 000007AA  3F2C 0016                move.w     -[A7], [A4 + 0x16]
  748. 000007AE  3F07                     move.w     -[A7], D7
  749. 000007B0  4267                     clr.w      -[A7]
  750. 000007B2  A91D                     syscall    SizeWindow
  751. 000007B4  302C 0016                move.w     D0, [A4 + 0x16]
  752. 000007B8  5240                     addq.w     D0, 1
  753. 000007BA  3D40 FFFC                move.w     [A6 - 0x4], D0
  754. 000007BE  302C 0016                move.w     D0, [A4 + 0x16]
  755. 000007C2  0640 FFF1                addi.w     D0, 0xFFF1
  756. 000007C6  3D40 FFF8                move.w     [A6 - 0x8], D0
  757. 000007CA  302C 0014                move.w     D0, [A4 + 0x14]
  758. 000007CE  0640 FFF2                addi.w     D0, 0xFFF2
  759. 000007D2  3D40 FFFA                move.w     [A6 - 0x6], D0
  760. 000007D6  70FF                     moveq.l    D0, 0xFFFFFFFF
  761. 000007D8  3D40 FFF6                move.w     [A6 - 0xA], D0
  762. 000007DC  42A7                     clr.l      -[A7]
  763. 000007DE  2F0C                     move.l     -[A7], A4
  764. 000007E0  486E FFF6                pea.l      [A6 - 0xA]
  765. 000007E4  486E FFFF                pea.l      [A6 - 0x1]
  766. 000007E8  1F3C 0001                move.b     -[A7], 0x1
  767. 000007EC  4267                     clr.w      -[A7]
  768. 000007EE  4267                     clr.w      -[A7]
  769. 000007F0  4267                     clr.w      -[A7]
  770. 000007F2  3F3C 0010                move.w     -[A7], 0x10
  771. 000007F6  4878 0056                push.l     0x56 /* 'V' */
  772. 000007FA  A954                     syscall    NewControl
  773. 000007FC  205F                     movea.l    A0, [A7]+
  774. 000007FE  2748 0026                move.l     [A3 + 0x26], A0
  775. 00000802  3F2B 004C                move.w     -[A7], [A3 + 0x4C]
  776. 00000806  3F2B 004A                move.w     -[A7], [A3 + 0x4A]
  777. 0000080A  A893                     syscall    MoveTo
  778. 0000080C  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  779. 00000810  A873                     syscall    SetPort
  780. 00000812  200C                     move.l     D0, A4
  781. 00000814  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  782. 00000818  4E5E                     unlink     A6
  783. 0000081A  205F                     movea.l    A0, [A7]+
  784. 0000081C  4FEF 0006                lea.l      A7, [A7 + 0x6]
  785. 00000820  2E80                     move.l     [A7], D0
  786. 00000822  4ED0                     jmp        [A0]
  787. fn00000824:
  788. 00000824  4E56 FFFC                link       A6, -0x0004
  789. 00000828  48E7 0018                movem.l    -[A7], A3,A4
  790. 0000082C  2878 09D6                movea.l    A4, [0x000009D6 /* WindowList */]
  791. 00000830  266D EA02                movea.l    A3, [A5 - 0x15FE]
  792. 00000834  6032                     bra        +0x34 /* 00000868 */
  793. label00000836:
  794. 00000836  0C6C 7FFE 006C           cmpi.w     [A4 + 0x6C], 0x7FFE
  795. 0000083C  6626                     bne        +0x28 /* 00000864 */
  796. 0000083E  4AAC 0086                tst.l      [A4 + 0x86]
  797. 00000842  6720                     beq        +0x22 /* 00000864 */
  798. 00000844  206C 0086                movea.l    A0, [A4 + 0x86]
  799. 00000848  2D50 FFFC                move.l     [A6 - 0x4], [A0]
  800. 0000084C  4EBA FA5C                jsr        [PC - 0x5A4 /* 000002AA */]
  801. 00000850  2F00                     move.l     -[A7], D0
  802. 00000852  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  803. 00000856  4EBA 0C84                jsr        [PC + 0xC84 /* 000014DC */]
  804. 0000085A  508F                     addq.l     A7, 8
  805. 0000085C  4A40                     tst.w      D0
  806. 0000085E  6604                     bne        +0x6 /* 00000864 */
  807. 00000860  200C                     move.l     D0, A4
  808. 00000862  601E                     bra        +0x20 /* 00000882 */
  809. label00000864:
  810. 00000864  286C 0090                movea.l    A4, [A4 + 0x90]
  811. label00000868:
  812. 00000868  200C                     move.l     D0, A4
  813. 0000086A  66CA                     bne        -0x34 /* 00000836 */
  814. 0000086C  42A7                     clr.l      -[A7]
  815. 0000086E  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  816. 00000872  3F2B 000A                move.w     -[A7], [A3 + 0xA]
  817. 00000876  3F2B 000C                move.w     -[A7], [A3 + 0xC]
  818. 0000087A  4EBA FE8E                jsr        [PC - 0x172 /* 0000070A */]
  819. 0000087E  205F                     movea.l    A0, [A7]+
  820. 00000880  2008                     move.l     D0, A0
  821. label00000882:
  822. 00000882  4CDF 1800                movem.l    A3,A4, [A7]+
  823. 00000886  4E5E                     unlink     A6
  824. 00000888  205F                     movea.l    A0, [A7]+
  825. 0000088A  2E80                     move.l     [A7], D0
  826. 0000088C  4ED0                     jmp        [A0]
  827. fn0000088E:
  828. 0000088E  4E56 0000                link       A6, 0
  829. 00000892  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  830. 00000896  286E 0008                movea.l    A4, [A6 + 0x8]
  831. 0000089A  7C00                     moveq.l    D6, 0x00
  832. 0000089C  3A2C 0034                move.w     D5, [A4 + 0x34]
  833. 000008A0  202C 002E                move.l     D0, [A4 + 0x2E]
  834. 000008A4  B0AC 002A                cmp.l      D0, [A4 + 0x2A]
  835. 000008A8  5DC0                     slt        D0
  836. 000008AA  4400                     neg.b      D0
  837. 000008AC  4880                     ext.w      D0
  838. 000008AE  1E00                     move.b     D7, D0
  839. 000008B0  4A00                     tst.b      D0
  840. 000008B2  670C                     beq        +0xE /* 000008C0 */
  841. 000008B4  206C 000C                movea.l    A0, [A4 + 0xC]
  842. 000008B8  3245                     movea.w    A1, D5
  843. 000008BA  D3D0                     add.l      A1, [A0]
  844. 000008BC  2449                     movea.l    A2, A1
  845. 000008BE  601A                     bra        +0x1C /* 000008DA */
  846. label000008C0:
  847. 000008C0  3045                     movea.w    A0, D5
  848. 000008C2  B1EC 002E                cmpa.l     A0, [A4 + 0x2E]
  849. 000008C6  6F06                     ble        +0x8 /* 000008CE */
  850. 000008C8  202C 002E                move.l     D0, [A4 + 0x2E]
  851. 000008CC  6004                     bra        +0x6 /* 000008D2 */
  852. label000008CE:
  853. 000008CE  3045                     movea.w    A0, D5
  854. 000008D0  2008                     move.l     D0, A0
  855. label000008D2:
  856. 000008D2  206C 000C                movea.l    A0, [A4 + 0xC]
  857. 000008D6  D090                     add.l      D0, [A0]
  858. 000008D8  2440                     movea.l    A2, D0
  859. label000008DA:
  860. 000008DA  206C 000C                movea.l    A0, [A4 + 0xC]
  861. 000008DE  2010                     move.l     D0, [A0]
  862. 000008E0  D0AC 002A                add.l      D0, [A4 + 0x2A]
  863. 000008E4  2640                     movea.l    A3, D0
  864. 000008E6  600A                     bra        +0xC /* 000008F2 */
  865. label000008E8:
  866. 000008E8  0C13 000D                cmpi.b     [A3], 0xD /* '\r' */
  867. 000008EC  6602                     bne        +0x4 /* 000008F0 */
  868. 000008EE  5246                     addq.w     D6, 1
  869. label000008F0:
  870. 000008F0  528B                     addq.l     A3, 1
  871. label000008F2:
  872. 000008F2  B7CA                     cmpa.l     A3, A2
  873. 000008F4  65F2                     bcs        -0xC /* 000008E8 */
  874. 000008F6  206C 000C                movea.l    A0, [A4 + 0xC]
  875. 000008FA  2010                     move.l     D0, [A0]
  876. 000008FC  D0AC 002E                add.l      D0, [A4 + 0x2E]
  877. 00000900  2440                     movea.l    A2, D0
  878. 00000902  4A07                     tst.b      D7
  879. 00000904  6716                     beq        +0x18 /* 0000091C */
  880. 00000906  206C 000C                movea.l    A0, [A4 + 0xC]
  881. 0000090A  2650                     movea.l    A3, [A0]
  882. 0000090C  600A                     bra        +0xC /* 00000918 */
  883. label0000090E:
  884. 0000090E  0C13 000D                cmpi.b     [A3], 0xD /* '\r' */
  885. 00000912  6602                     bne        +0x4 /* 00000916 */
  886. 00000914  5246                     addq.w     D6, 1
  887. label00000916:
  888. 00000916  528B                     addq.l     A3, 1
  889. label00000918:
  890. 00000918  B7CA                     cmpa.l     A3, A2
  891. 0000091A  65F2                     bcs        -0xC /* 0000090E */
  892. label0000091C:
  893. 0000091C  206C 000C                movea.l    A0, [A4 + 0xC]
  894. 00000920  2010                     move.l     D0, [A0]
  895. 00000922  D0AC 002E                add.l      D0, [A4 + 0x2E]
  896. 00000926  2040                     movea.l    A0, D0
  897. 00000928  0C28 000D FFFF           cmpi.b     [A0 - 0x1], 0xD /* '\r' */
  898. 0000092E  6702                     beq        +0x4 /* 00000932 */
  899. 00000930  5246                     addq.w     D6, 1
  900. label00000932:
  901. 00000932  3046                     movea.w    A0, D6
  902. 00000934  2948 0010                move.l     [A4 + 0x10], A0
  903. 00000938  4CDF 1CE0                movem.l    D5,D6,D7,A2,A3,A4, [A7]+
  904. 0000093C  4E5E                     unlink     A6
  905. 0000093E  4E75                     rts
  906. fn00000940:
  907. 00000940  4E56 FFFE                link       A6, -0x0002
  908. 00000944  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  909. 00000948  286E 000C                movea.l    A4, [A6 + 0xC]
  910. 0000094C  3E2E 0010                move.w     D7, [A6 + 0x10]
  911. 00000950  206E 0008                movea.l    A0, [A6 + 0x8]
  912. 00000954  2668 0098                movea.l    A3, [A0 + 0x98]
  913. 00000958  206B 000C                movea.l    A0, [A3 + 0xC]
  914. 0000095C  2450                     movea.l    A2, [A0]
  915. 0000095E  202B 0032                move.l     D0, [A3 + 0x32]
  916. 00000962  5380                     subq.l     D0, 1
  917. 00000964  2C00                     move.l     D6, D0
  918. 00000966  426E FFFE                clr.w      [A6 - 0x2]
  919. 0000096A  2A2B 002E                move.l     D5, [A3 + 0x2E]
  920. 0000096E  BA86                     cmp.l      D5, D6
  921. 00000970  6706                     beq        +0x8 /* 00000978 */
  922. 00000972  2005                     move.l     D0, D5
  923. 00000974  5280                     addq.l     D0, 1
  924. 00000976  6002                     bra        +0x4 /* 0000097A */
  925. label00000978:
  926. 00000978  7000                     moveq.l    D0, 0x00
  927. label0000097A:
  928. 0000097A  2800                     move.l     D4, D0
  929. 0000097C  6028                     bra        +0x2A /* 000009A6 */
  930. label0000097E:
  931. 0000097E  B8AB 002A                cmp.l      D4, [A3 + 0x2A]
  932. 00000982  6606                     bne        +0x8 /* 0000098A */
  933. 00000984  7001                     moveq.l    D0, 0x01
  934. 00000986  3D40 FFFE                move.w     [A6 - 0x2], D0
  935. label0000098A:
  936. 0000098A  200A                     move.l     D0, A2
  937. 0000098C  D085                     add.l      D0, D5
  938. 0000098E  41D4                     lea.l      A0, [A4]
  939. 00000990  528C                     addq.l     A4, 1
  940. 00000992  2240                     movea.l    A1, D0
  941. 00000994  1290                     move.b     [A1], [A0]
  942. 00000996  2A04                     move.l     D5, D4
  943. 00000998  B886                     cmp.l      D4, D6
  944. 0000099A  6706                     beq        +0x8 /* 000009A2 */
  945. 0000099C  2004                     move.l     D0, D4
  946. 0000099E  5280                     addq.l     D0, 1
  947. 000009A0  6002                     bra        +0x4 /* 000009A4 */
  948. label000009A2:
  949. 000009A2  7000                     moveq.l    D0, 0x00
  950. label000009A4:
  951. 000009A4  2800                     move.l     D4, D0
  952. label000009A6:
  953. 000009A6  3007                     move.w     D0, D7
  954. 000009A8  5347                     subq.w     D7, 1
  955. 000009AA  4A40                     tst.w      D0
  956. 000009AC  66D0                     bne        -0x2E /* 0000097E */
  957. 000009AE  2745 002E                move.l     [A3 + 0x2E], D5
  958. 000009B2  4A6E FFFE                tst.w      [A6 - 0x2]
  959. 000009B6  6610                     bne        +0x12 /* 000009C8 */
  960. 000009B8  602E                     bra        +0x30 /* 000009E8 */
  961. label000009BA:
  962. 000009BA  B886                     cmp.l      D4, D6
  963. 000009BC  6706                     beq        +0x8 /* 000009C4 */
  964. 000009BE  2004                     move.l     D0, D4
  965. 000009C0  5280                     addq.l     D0, 1
  966. 000009C2  6002                     bra        +0x4 /* 000009C6 */
  967. label000009C4:
  968. 000009C4  7000                     moveq.l    D0, 0x00
  969. label000009C6:
  970. 000009C6  2800                     move.l     D4, D0
  971. label000009C8:
  972. 000009C8  200A                     move.l     D0, A2
  973. 000009CA  D084                     add.l      D0, D4
  974. 000009CC  2040                     movea.l    A0, D0
  975. 000009CE  0C10 000D                cmpi.b     [A0], 0xD /* '\r' */
  976. 000009D2  6704                     beq        +0x6 /* 000009D8 */
  977. 000009D4  B885                     cmp.l      D4, D5
  978. 000009D6  66E2                     bne        -0x1C /* 000009BA */
  979. label000009D8:
  980. 000009D8  B886                     cmp.l      D4, D6
  981. 000009DA  6706                     beq        +0x8 /* 000009E2 */
  982. 000009DC  2004                     move.l     D0, D4
  983. 000009DE  5280                     addq.l     D0, 1
  984. 000009E0  6002                     bra        +0x4 /* 000009E4 */
  985. label000009E2:
  986. 000009E2  7000                     moveq.l    D0, 0x00
  987. label000009E4:
  988. 000009E4  2740 002A                move.l     [A3 + 0x2A], D0
  989. label000009E8:
  990. 000009E8  2F0B                     move.l     -[A7], A3
  991. 000009EA  4EBA FEA2                jsr        [PC - 0x15E /* 0000088E */]
  992. 000009EE  588F                     addq.l     A7, 4
  993. 000009F0  306B 003A                movea.w    A0, [A3 + 0x3A]
  994. 000009F4  202B 0010                move.l     D0, [A3 + 0x10]
  995. 000009F8  9088                     sub.l      D0, A0
  996. 000009FA  3740 0042                move.w     [A3 + 0x42], D0
  997. 000009FE  4A6B 0042                tst.w      [A3 + 0x42]
  998. 00000A02  6C04                     bge        +0x6 /* 00000A08 */
  999. 00000A04  426B 0042                clr.w      [A3 + 0x42]
  1000. label00000A08:
  1001. 00000A08  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  1002. 00000A0C  4E5E                     unlink     A6
  1003. 00000A0E  4E75                     rts
  1004. fn00000A10:
  1005. 00000A10  4E56 FFE8                link       A6, -0x0018
  1006. 00000A14  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  1007. 00000A18  286E 0008                movea.l    A4, [A6 + 0x8]
  1008. 00000A1C  206E 000C                movea.l    A0, [A6 + 0xC]
  1009. 00000A20  2668 0026                movea.l    A3, [A0 + 0x26]
  1010. 00000A24  246B 0098                movea.l    A2, [A3 + 0x98]
  1011. 00000A28  3C2A 0018                move.w     D6, [A2 + 0x18]
  1012. 00000A2C  486D EB40                pea.l      [A5 - 0x14C0]
  1013. 00000A30  A874                     syscall    GetPort
  1014. 00000A32  2F0B                     move.l     -[A7], A3
  1015. 00000A34  A873                     syscall    SetPort
  1016. 00000A36  4267                     clr.w      -[A7]
  1017. 00000A38  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1018. 00000A3C  A962                     syscall    GetControlMaximum/GetMaxCtl
  1019. 00000A3E  301F                     move.w     D0, [A7]+
  1020. 00000A40  3E00                     move.w     D7, D0
  1021. 00000A42  4267                     clr.w      -[A7]
  1022. 00000A44  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1023. 00000A48  A960                     syscall    GetControlValue/GetCtlValue
  1024. 00000A4A  301F                     move.w     D0, [A7]+
  1025. 00000A4C  B047                     cmp.w      D0, D7
  1026. 00000A4E  6708                     beq        +0xA /* 00000A58 */
  1027. 00000A50  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1028. 00000A54  3F07                     move.w     -[A7], D7
  1029. 00000A56  A963                     syscall    SetControlValue/SetCtlValue
  1030. label00000A58:
  1031. 00000A58  42A7                     clr.l      -[A7]
  1032. 00000A5A  A8D8                     syscall    NewRgn
  1033. 00000A5C  205F                     movea.l    A0, [A7]+
  1034. 00000A5E  2D48 FFFC                move.l     [A6 - 0x4], A0
  1035. 00000A62  3E2B 0030                move.w     D7, [A3 + 0x30]
  1036. 00000A66  BE6A 0008                cmp.w      D7, [A2 + 0x8]
  1037. 00000A6A  6D00 007C                blt        +0x7E /* 00000AE8 */
  1038. 00000A6E  41EE FFEC                lea.l      A0, [A6 - 0x14]
  1039. 00000A72  43EA 0004                lea.l      A1, [A2 + 0x4]
  1040. 00000A76  20D9                     move.l     [A0]+, [A1]+
  1041. 00000A78  20D9                     move.l     [A0]+, [A1]+
  1042. 00000A7A  3006                     move.w     D0, D6
  1043. 00000A7C  4440                     neg.w      D0
  1044. 00000A7E  486E FFEC                pea.l      [A6 - 0x14]
  1045. 00000A82  4267                     clr.w      -[A7]
  1046. 00000A84  3F00                     move.w     -[A7], D0
  1047. 00000A86  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1048. 00000A8A  A8EF                     syscall    ScrollRect
  1049. 00000A8C  42A7                     clr.l      -[A7]
  1050. 00000A8E  A8D8                     syscall    NewRgn
  1051. 00000A90  205F                     movea.l    A0, [A7]+
  1052. 00000A92  2D48 FFF4                move.l     [A6 - 0xC], A0
  1053. 00000A96  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1054. 00000A9A  486B 0010                pea.l      [A3 + 0x10]
  1055. 00000A9E  A8DF                     syscall    RectRgn
  1056. 00000AA0  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1057. 00000AA4  2F2B 0018                move.l     -[A7], [A3 + 0x18]
  1058. 00000AA8  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1059. 00000AAC  A8E6                     syscall    DiffRgn
  1060. 00000AAE  4267                     clr.w      -[A7]
  1061. 00000AB0  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1062. 00000AB4  A8E2                     syscall    EmptyRgn
  1063. 00000AB6  101F                     move.b     D0, [A7]+
  1064. 00000AB8  4A00                     tst.b      D0
  1065. 00000ABA  661C                     bne        +0x1E /* 00000AD8 */
  1066. 00000ABC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1067. 00000AC0  A879                     syscall    SetClip
  1068. 00000AC2  526A 0042                addq.w     [A2 + 0x42], 1
  1069. 00000AC6  2F0B                     move.l     -[A7], A3
  1070. 00000AC8  4EBA F7EC                jsr        [PC - 0x814 /* 000002B6 */]
  1071. 00000ACC  588F                     addq.l     A7, 4
  1072. 00000ACE  536A 0042                subq.w     [A2 + 0x42], 1
  1073. 00000AD2  486A 0004                pea.l      [A2 + 0x4]
  1074. 00000AD6  A87B                     syscall    ClipRect
  1075. label00000AD8:
  1076. 00000AD8  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1077. 00000ADC  A8D9                     syscall    DisposRgn/DisposeRgn
  1078. 00000ADE  9E46                     sub.w      D7, D6
  1079. 00000AE0  3F2B 0032                move.w     -[A7], [A3 + 0x32]
  1080. 00000AE4  3F07                     move.w     -[A7], D7
  1081. 00000AE6  A893                     syscall    MoveTo
  1082. label00000AE8:
  1083. 00000AE8  4AAA 0026                tst.l      [A2 + 0x26]
  1084. 00000AEC  6700 0080                beq        +0x82 /* 00000B6E */
  1085. 00000AF0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1086. 00000AF4  A87A                     syscall    GetClip
  1087. 00000AF6  4267                     clr.w      -[A7]
  1088. 00000AF8  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1089. 00000AFC  A962                     syscall    GetControlMaximum/GetMaxCtl
  1090. 00000AFE  301F                     move.w     D0, [A7]+
  1091. 00000B00  4A40                     tst.w      D0
  1092. 00000B02  6714                     beq        +0x16 /* 00000B18 */
  1093. 00000B04  42A7                     clr.l      -[A7]
  1094. 00000B06  A8D8                     syscall    NewRgn
  1095. 00000B08  205F                     movea.l    A0, [A7]+
  1096. 00000B0A  2D48 FFF8                move.l     [A6 - 0x8], A0
  1097. 00000B0E  4850                     pea.l      [A0]
  1098. 00000B10  A879                     syscall    SetClip
  1099. 00000B12  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1100. 00000B16  A8D9                     syscall    DisposRgn/DisposeRgn
  1101. label00000B18:
  1102. 00000B18  302A 0008                move.w     D0, [A2 + 0x8]
  1103. 00000B1C  906A 0004                sub.w      D0, [A2 + 0x4]
  1104. 00000B20  48C0                     ext.l      D0
  1105. 00000B22  81C6                     divs.w     D0, D6
  1106. 00000B24  3A00                     move.w     D5, D0
  1107. 00000B26  3540 003A                move.w     [A2 + 0x3A], D0
  1108. 00000B2A  7800                     moveq.l    D4, 0x00
  1109. 00000B2C  3045                     movea.w    A0, D5
  1110. 00000B2E  B1EA 0010                cmpa.l     A0, [A2 + 0x10]
  1111. 00000B32  6C0C                     bge        +0xE /* 00000B40 */
  1112. 00000B34  3045                     movea.w    A0, D5
  1113. 00000B36  202A 0010                move.l     D0, [A2 + 0x10]
  1114. 00000B3A  9088                     sub.l      D0, A0
  1115. 00000B3C  5280                     addq.l     D0, 1
  1116. 00000B3E  3800                     move.w     D4, D0
  1117. label00000B40:
  1118. 00000B40  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1119. 00000B44  3F04                     move.w     -[A7], D4
  1120. 00000B46  A965                     syscall    SetControlMaximum/SetMaxCtl
  1121. 00000B48  3005                     move.w     D0, D5
  1122. 00000B4A  C1C6                     muls.w     D0, D6
  1123. 00000B4C  D06A 0004                add.w      D0, [A2 + 0x4]
  1124. 00000B50  3540 0008                move.w     [A2 + 0x8], D0
  1125. 00000B54  2F2A 0026                move.l     -[A7], [A2 + 0x26]
  1126. 00000B58  3F04                     move.w     -[A7], D4
  1127. 00000B5A  A963                     syscall    SetControlValue/SetCtlValue
  1128. 00000B5C  206A 0026                movea.l    A0, [A2 + 0x26]
  1129. 00000B60  2050                     movea.l    A0, [A0]
  1130. 00000B62  4868 0008                pea.l      [A0 + 0x8]
  1131. 00000B66  A928                     syscall    InvalRect
  1132. 00000B68  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1133. 00000B6C  A879                     syscall    SetClip
  1134. label00000B6E:
  1135. 00000B6E  7000                     moveq.l    D0, 0x00
  1136. 00000B70  1014                     move.b     D0, [A4]
  1137. 00000B72  3F00                     move.w     -[A7], D0
  1138. 00000B74  486C 0001                pea.l      [A4 + 0x1]
  1139. 00000B78  2F0B                     move.l     -[A7], A3
  1140. 00000B7A  4EBA FDC4                jsr        [PC - 0x23C /* 00000940 */]
  1141. 00000B7E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1142. 00000B82  A856                     syscall    ObscureCursor
  1143. 00000B84  3F3C 0002                move.w     -[A7], 0x2
  1144. 00000B88  4EBA 01E0                jsr        [PC + 0x1E0 /* 00000D6A */]
  1145. 00000B8C  486A 0004                pea.l      [A2 + 0x4]
  1146. 00000B90  A87B                     syscall    ClipRect
  1147. 00000B92  7000                     moveq.l    D0, 0x00
  1148. 00000B94  1014                     move.b     D0, [A4]
  1149. 00000B96  2F0C                     move.l     -[A7], A4
  1150. 00000B98  3F3C 0001                move.w     -[A7], 0x1
  1151. 00000B9C  5340                     subq.w     D0, 1
  1152. 00000B9E  3F00                     move.w     -[A7], D0
  1153. 00000BA0  A885                     syscall    DrawText
  1154. 00000BA2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1155. 00000BA6  A8D9                     syscall    DisposRgn/DisposeRgn
  1156. 00000BA8  7000                     moveq.l    D0, 0x00
  1157. 00000BAA  1014                     move.b     D0, [A4]
  1158. 00000BAC  4840                     swap.w     D0
  1159. 00000BAE  4240                     clr.w      D0
  1160. 00000BB0  4840                     swap.w     D0
  1161. 00000BB2  D08C                     add.l      D0, A4
  1162. 00000BB4  2040                     movea.l    A0, D0
  1163. 00000BB6  7000                     moveq.l    D0, 0x00
  1164. 00000BB8  1010                     move.b     D0, [A0]
  1165. 00000BBA  0C40 000D                cmpi.w     D0, 0xD /* '\r' */
  1166. 00000BBE  660C                     bne        +0xE /* 00000BCC */
  1167. 00000BC0  DE46                     add.w      D7, D6
  1168. 00000BC2  3F3C 0006                move.w     -[A7], 0x6
  1169. 00000BC6  3F07                     move.w     -[A7], D7
  1170. 00000BC8  A893                     syscall    MoveTo
  1171. 00000BCA  6016                     bra        +0x18 /* 00000BE2 */
  1172. label00000BCC:
  1173. 00000BCC  7000                     moveq.l    D0, 0x00
  1174. 00000BCE  1014                     move.b     D0, [A4]
  1175. 00000BD0  4840                     swap.w     D0
  1176. 00000BD2  4240                     clr.w      D0
  1177. 00000BD4  4840                     swap.w     D0
  1178. 00000BD6  D08C                     add.l      D0, A4
  1179. 00000BD8  2040                     movea.l    A0, D0
  1180. 00000BDA  7000                     moveq.l    D0, 0x00
  1181. 00000BDC  1010                     move.b     D0, [A0]
  1182. 00000BDE  3F00                     move.w     -[A7], D0
  1183. 00000BE0  A883                     syscall    DrawChar
  1184. label00000BE2:
  1185. 00000BE2  256B 0030 0014           move.l     [A2 + 0x14], [A3 + 0x30]
  1186. 00000BE8  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  1187. 00000BEC  A873                     syscall    SetPort
  1188. 00000BEE  7000                     moveq.l    D0, 0x00
  1189. 00000BF0  1014                     move.b     D0, [A4]
  1190. 00000BF2  2D40 FFE8                move.l     [A6 - 0x18], D0
  1191. 00000BF6  206D EA02                movea.l    A0, [A5 - 0x15FE]
  1192. 00000BFA  3E28 000E                move.w     D7, [A0 + 0xE]
  1193. 00000BFE  4A47                     tst.w      D7
  1194. 00000C00  6712                     beq        +0x14 /* 00000C14 */
  1195. 00000C02  4267                     clr.w      -[A7]
  1196. 00000C04  3F07                     move.w     -[A7], D7
  1197. 00000C06  486E FFE8                pea.l      [A6 - 0x18]
  1198. 00000C0A  486C 0001                pea.l      [A4 + 0x1]
  1199. 00000C0E  4EBA 0A9C                jsr        [PC + 0xA9C /* 000016AC */]
  1200. 00000C12  301F                     move.w     D0, [A7]+
  1201. label00000C14:
  1202. 00000C14  206D EA02                movea.l    A0, [A5 - 0x15FE]
  1203. 00000C18  3E28 0010                move.w     D7, [A0 + 0x10]
  1204. 00000C1C  4A47                     tst.w      D7
  1205. 00000C1E  6712                     beq        +0x14 /* 00000C32 */
  1206. 00000C20  4267                     clr.w      -[A7]
  1207. 00000C22  3F07                     move.w     -[A7], D7
  1208. 00000C24  486E FFE8                pea.l      [A6 - 0x18]
  1209. 00000C28  486C 0001                pea.l      [A4 + 0x1]
  1210. 00000C2C  4EBA 0A7E                jsr        [PC + 0xA7E /* 000016AC */]
  1211. 00000C30  301F                     move.w     D0, [A7]+
  1212. label00000C32:
  1213. 00000C32  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  1214. 00000C36  4E5E                     unlink     A6
  1215. 00000C38  205F                     movea.l    A0, [A7]+
  1216. 00000C3A  4FEF 0008                lea.l      A7, [A7 + 0x8]
  1217. 00000C3E  4ED0                     jmp        [A0]
  1218. fn00000C40:
  1219. 00000C40  4E56 0000                link       A6, 0
  1220. 00000C44  2F0C                     move.l     -[A7], A4
  1221. 00000C46  286E 0008                movea.l    A4, [A6 + 0x8]
  1222. 00000C4A  42AC 0010                clr.l      [A4 + 0x10]
  1223. 00000C4E  296C 004A 0014           move.l     [A4 + 0x14], [A4 + 0x4A]
  1224. 00000C54  302C 001A                move.w     D0, [A4 + 0x1A]
  1225. 00000C58  D16C 0014                add.w      [A4 + 0x14], D0
  1226. 00000C5C  42AC 002E                clr.l      [A4 + 0x2E]
  1227. 00000C60  42AC 002A                clr.l      [A4 + 0x2A]
  1228. 00000C64  42AC 0036                clr.l      [A4 + 0x36]
  1229. 00000C68  42AC 0046                clr.l      [A4 + 0x46]
  1230. 00000C6C  426C 0040                clr.w      [A4 + 0x40]
  1231. 00000C70  426C 0042                clr.w      [A4 + 0x42]
  1232. 00000C74  422C 0044                clr.b      [A4 + 0x44]
  1233. 00000C78  486D EB40                pea.l      [A5 - 0x14C0]
  1234. 00000C7C  A874                     syscall    GetPort
  1235. 00000C7E  2F14                     move.l     -[A7], [A4]
  1236. 00000C80  A873                     syscall    SetPort
  1237. 00000C82  486C 0004                pea.l      [A4 + 0x4]
  1238. 00000C86  A8A3                     syscall    EraseRect
  1239. 00000C88  302C 004A                move.w     D0, [A4 + 0x4A]
  1240. 00000C8C  D06C 001A                add.w      D0, [A4 + 0x1A]
  1241. 00000C90  3F2C 004C                move.w     -[A7], [A4 + 0x4C]
  1242. 00000C94  3F00                     move.w     -[A7], D0
  1243. 00000C96  A893                     syscall    MoveTo
  1244. 00000C98  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  1245. 00000C9C  A873                     syscall    SetPort
  1246. 00000C9E  285F                     movea.l    A4, [A7]+
  1247. 00000CA0  4E5E                     unlink     A6
  1248. 00000CA2  4E75                     rts
  1249. export_10:
  1250. fn00000CA4:
  1251. 00000CA4  4E56 0000                link       A6, 0
  1252. 00000CA8  206E 0008                movea.l    A0, [A6 + 0x8]
  1253. 00000CAC  2068 0026                movea.l    A0, [A0 + 0x26]
  1254. 00000CB0  2F28 0098                move.l     -[A7], [A0 + 0x98]
  1255. 00000CB4  4EBA FF8A                jsr        [PC - 0x76 /* 00000C40 */]
  1256. 00000CB8  588F                     addq.l     A7, 4
  1257. 00000CBA  4E5E                     unlink     A6
  1258. 00000CBC  4E75                     rts
  1259. fn00000CBE:
  1260. 00000CBE  4E56 FFF8                link       A6, -0x0008
  1261. 00000CC2  48E7 0118                movem.l    -[A7], D7,A3,A4
  1262. 00000CC6  206E 0008                movea.l    A0, [A6 + 0x8]
  1263. 00000CCA  2868 0026                movea.l    A4, [A0 + 0x26]
  1264. 00000CCE  266C 0098                movea.l    A3, [A4 + 0x98]
  1265. 00000CD2  3F3C 0002                move.w     -[A7], 0x2
  1266. 00000CD6  4EBA 0092                jsr        [PC + 0x92 /* 00000D6A */]
  1267. 00000CDA  4AAB 002E                tst.l      [A3 + 0x2E]
  1268. 00000CDE  6608                     bne        +0xA /* 00000CE8 */
  1269. 00000CE0  276B 0032 002E           move.l     [A3 + 0x2E], [A3 + 0x32]
  1270. 00000CE6  6004                     bra        +0x6 /* 00000CEC */
  1271. label00000CE8:
  1272. 00000CE8  53AB 002E                subq.l     [A3 + 0x2E], 1
  1273. label00000CEC:
  1274. 00000CEC  206B 000C                movea.l    A0, [A3 + 0xC]
  1275. 00000CF0  2010                     move.l     D0, [A0]
  1276. 00000CF2  D0AB 002E                add.l      D0, [A3 + 0x2E]
  1277. 00000CF6  2040                     movea.l    A0, D0
  1278. 00000CF8  1E10                     move.b     D7, [A0]
  1279. 00000CFA  4267                     clr.w      -[A7]
  1280. 00000CFC  1007                     move.b     D0, D7
  1281. 00000CFE  4880                     ext.w      D0
  1282. 00000D00  3F00                     move.w     -[A7], D0
  1283. 00000D02  A88D                     syscall    CharWidth
  1284. 00000D04  301F                     move.w     D0, [A7]+
  1285. 00000D06  916B 0016                sub.w      [A3 + 0x16], D0
  1286. 00000D0A  302B 0016                move.w     D0, [A3 + 0x16]
  1287. 00000D0E  3940 0032                move.w     [A4 + 0x32], D0
  1288. 00000D12  3D40 FFFA                move.w     [A6 - 0x6], D0
  1289. 00000D16  4267                     clr.w      -[A7]
  1290. 00000D18  1007                     move.b     D0, D7
  1291. 00000D1A  4880                     ext.w      D0
  1292. 00000D1C  3F00                     move.w     -[A7], D0
  1293. 00000D1E  A88D                     syscall    CharWidth
  1294. 00000D20  301F                     move.w     D0, [A7]+
  1295. 00000D22  D06E FFFA                add.w      D0, [A6 - 0x6]
  1296. 00000D26  3D40 FFFE                move.w     [A6 - 0x2], D0
  1297. 00000D2A  302B 0014                move.w     D0, [A3 + 0x14]
  1298. 00000D2E  D06B 001C                add.w      D0, [A3 + 0x1C]
  1299. 00000D32  D06B 0020                add.w      D0, [A3 + 0x20]
  1300. 00000D36  3D40 FFFC                move.w     [A6 - 0x4], D0
  1301. 00000D3A  302B 0014                move.w     D0, [A3 + 0x14]
  1302. 00000D3E  906B 001A                sub.w      D0, [A3 + 0x1A]
  1303. 00000D42  3D40 FFF8                move.w     [A6 - 0x8], D0
  1304. 00000D46  486D EB40                pea.l      [A5 - 0x14C0]
  1305. 00000D4A  A874                     syscall    GetPort
  1306. 00000D4C  2F0C                     move.l     -[A7], A4
  1307. 00000D4E  A873                     syscall    SetPort
  1308. 00000D50  486E FFF8                pea.l      [A6 - 0x8]
  1309. 00000D54  A8A3                     syscall    EraseRect
  1310. 00000D56  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  1311. 00000D5A  A873                     syscall    SetPort
  1312. 00000D5C  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1313. 00000D60  4E5E                     unlink     A6
  1314. 00000D62  205F                     movea.l    A0, [A7]+
  1315. 00000D64  4FEF 0004                lea.l      A7, [A7 + 0x4]
  1316. 00000D68  4ED0                     jmp        [A0]
  1317. fn00000D6A:
  1318. 00000D6A  4E56 FFF8                link       A6, -0x0008
  1319. 00000D6E  48E7 0018                movem.l    -[A7], A3,A4
  1320. 00000D72  2878 09D6                movea.l    A4, [0x000009D6 /* WindowList */]
  1321. 00000D76  200C                     move.l     D0, A4
  1322. 00000D78  6700 0098                beq        +0x9A /* 00000E12 */
  1323. 00000D7C  0C6C 7FFE 006C           cmpi.w     [A4 + 0x6C], 0x7FFE
  1324. 00000D82  6600 008E                bne        +0x90 /* 00000E12 */
  1325. 00000D86  266C 0098                movea.l    A3, [A4 + 0x98]
  1326. 00000D8A  302E 0008                move.w     D0, [A6 + 0x8]
  1327. 00000D8E  4EBA 014A                jsr        [PC + 0x14A /* 00000EDA */]
  1328. 00000D92  0000 0002                ori.b      D0, 0x2
  1329. 00000D96  0026 0006                ori.b      -[A6], 0x6
  1330. 00000D9A  0014 001A                ori.b      [A4], 0x1A
  1331. 00000D9E  2038 016A                move.l     D0, [0x0000016A /* Ticks */]
  1332. 00000DA2  90AB 0036                sub.l      D0, [A3 + 0x36]
  1333. 00000DA6  B0B8 02F4                cmp.l      D0, [0x000002F4 /* CaretTime */]
  1334. 00000DAA  6F66                     ble        +0x68 /* 00000E12 */
  1335. 00000DAC  600E                     bra        +0x10 /* 00000DBC */
  1336. 00000DAE  4A2B 0044                tst.b      [A3 + 0x44]
  1337. 00000DB2  665E                     bne        +0x60 /* 00000E12 */
  1338. 00000DB4  6006                     bra        +0x8 /* 00000DBC */
  1339. 00000DB6  4A2B 0044                tst.b      [A3 + 0x44]
  1340. 00000DBA  6756                     beq        +0x58 /* 00000E12 */
  1341. label00000DBC:
  1342. 00000DBC  4A2B 0044                tst.b      [A3 + 0x44]
  1343. 00000DC0  57C0                     seq        D0
  1344. 00000DC2  4400                     neg.b      D0
  1345. 00000DC4  4880                     ext.w      D0
  1346. 00000DC6  1740 0044                move.b     [A3 + 0x44], D0
  1347. 00000DCA  2778 016A 0036           move.l     [A3 + 0x36], [0x0000016A /* Ticks */]
  1348. 00000DD0  3D6B 0016 FFFE           move.w     [A6 - 0x2], [A3 + 0x16]
  1349. 00000DD6  302E FFFE                move.w     D0, [A6 - 0x2]
  1350. 00000DDA  5340                     subq.w     D0, 1
  1351. 00000DDC  3D40 FFFA                move.w     [A6 - 0x6], D0
  1352. 00000DE0  302B 0014                move.w     D0, [A3 + 0x14]
  1353. 00000DE4  D06B 001C                add.w      D0, [A3 + 0x1C]
  1354. 00000DE8  D06B 0020                add.w      D0, [A3 + 0x20]
  1355. 00000DEC  3D40 FFFC                move.w     [A6 - 0x4], D0
  1356. 00000DF0  302B 0014                move.w     D0, [A3 + 0x14]
  1357. 00000DF4  906B 001A                sub.w      D0, [A3 + 0x1A]
  1358. 00000DF8  3D40 FFF8                move.w     [A6 - 0x8], D0
  1359. 00000DFC  486D EB40                pea.l      [A5 - 0x14C0]
  1360. 00000E00  A874                     syscall    GetPort
  1361. 00000E02  2F0C                     move.l     -[A7], A4
  1362. 00000E04  A873                     syscall    SetPort
  1363. 00000E06  486E FFF8                pea.l      [A6 - 0x8]
  1364. 00000E0A  A8A4                     syscall    InvertRect
  1365. 00000E0C  2F2D EB40                move.l     -[A7], [A5 - 0x14C0]
  1366. 00000E10  A873                     syscall    SetPort
  1367. label00000E12:
  1368. 00000E12  4CDF 1800                movem.l    A3,A4, [A7]+
  1369. 00000E16  4E5E                     unlink     A6
  1370. 00000E18  205F                     movea.l    A0, [A7]+
  1371. 00000E1A  4FEF 0002                lea.l      A7, [A7 + 0x2]
  1372. 00000E1E  4ED0                     jmp        [A0]
  1373. export_11:
  1374. 00000E20  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  1375. 00000E24  226F 0018                movea.l    A1, [A7 + 0x18]
  1376. 00000E28  206F 001C                movea.l    A0, [A7 + 0x1C]
  1377. 00000E2C  2F6F 0014 001C           move.l     [A7 + 0x1C], [A7 + 0x14]
  1378. 00000E32  7000                     moveq.l    D0, 0x00
  1379. 00000E34  1018                     move.b     D0, [A0]+
  1380. 00000E36  3400                     move.w     D2, D0
  1381. 00000E38  1219                     move.b     D1, [A1]+
  1382. 00000E3A  B200                     cmp.b      D1, D0
  1383. 00000E3C  6402                     bcc        +0x4 /* 00000E40 */
  1384. 00000E3E  1401                     move.b     D2, D1
  1385. label00000E40:
  1386. 00000E40  5342                     subq.w     D2, 1
  1387. 00000E42  6D08                     blt        +0xA /* 00000E4C */
  1388. label00000E44:
  1389. 00000E44  B308                     cmpm.b     [A1]+, [A0]+
  1390. 00000E46  56CA FFFC                dbne       D2, -0x6 /* 00000E44 */
  1391. 00000E4A  6602                     bne        +0x4 /* 00000E4E */
  1392. label00000E4C:
  1393. 00000E4C  B200                     cmp.b      D1, D0
  1394. label00000E4E:
  1395. 00000E4E  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  1396. 00000E52  508F                     addq.l     A7, 8
  1397. 00000E54  4E75                     rts
  1398. 00000E56  202F 0004                move.l     D0, [A7 + 0x4]
  1399. 00000E5A  2F41 0004                move.l     [A7 + 0x4], D1
  1400. 00000E5E  222F 0008                move.l     D1, [A7 + 0x8]
  1401. 00000E62  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1402. 00000E66  48E7 3100                movem.l    -[A7], D2,D3,D7
  1403. 00000E6A  4EBA 0606                jsr        [PC + 0x606 /* 00001472 */]
  1404. 00000E6E  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1405. 00000E72  221F                     move.l     D1, [A7]+
  1406. 00000E74  4E75                     rts
  1407. 00000E76  202F 0004                move.l     D0, [A7 + 0x4]
  1408. 00000E7A  2F41 0004                move.l     [A7 + 0x4], D1
  1409. 00000E7E  222F 0008                move.l     D1, [A7 + 0x8]
  1410. 00000E82  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1411. 00000E86  48E7 3100                movem.l    -[A7], D2,D3,D7
  1412. 00000E8A  4EBA 05E6                jsr        [PC + 0x5E6 /* 00001472 */]
  1413. 00000E8E  2001                     move.l     D0, D1
  1414. 00000E90  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1415. 00000E94  221F                     move.l     D1, [A7]+
  1416. 00000E96  4E75                     rts
  1417. fn00000E98:
  1418. 00000E98  202F 0004                move.l     D0, [A7 + 0x4]
  1419. 00000E9C  2F41 0004                move.l     [A7 + 0x4], D1
  1420. 00000EA0  222F 0008                move.l     D1, [A7 + 0x8]
  1421. 00000EA4  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1422. 00000EA8  48E7 3100                movem.l    -[A7], D2,D3,D7
  1423. 00000EAC  4EBA 0596                jsr        [PC + 0x596 /* 00001444 */]
  1424. 00000EB0  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1425. 00000EB4  221F                     move.l     D1, [A7]+
  1426. 00000EB6  4E75                     rts
  1427. 00000EB8  202F 0004                move.l     D0, [A7 + 0x4]
  1428. 00000EBC  2F41 0004                move.l     [A7 + 0x4], D1
  1429. 00000EC0  222F 0008                move.l     D1, [A7 + 0x8]
  1430. 00000EC4  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  1431. 00000EC8  48E7 3100                movem.l    -[A7], D2,D3,D7
  1432. 00000ECC  4EBA 0576                jsr        [PC + 0x576 /* 00001444 */]
  1433. 00000ED0  2001                     move.l     D0, D1
  1434. 00000ED2  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1435. 00000ED6  221F                     move.l     D1, [A7]+
  1436. 00000ED8  4E75                     rts
  1437. fn00000EDA:
  1438. 00000EDA  205F                     movea.l    A0, [A7]+
  1439. 00000EDC  3218                     move.w     D1, [A0]+
  1440. 00000EDE  3418                     move.w     D2, [A0]+
  1441. 00000EE0  B042                     cmp.w      D0, D2
  1442. 00000EE2  6E0A                     bgt        +0xC /* 00000EEE */
  1443. 00000EE4  9041                     sub.w      D0, D1
  1444. 00000EE6  6D06                     blt        +0x8 /* 00000EEE */
  1445. 00000EE8  D040                     add.w      D0, D0
  1446. 00000EEA  41F0 0002                lea.l      A0, [A0 + D0.w + 0x2]
  1447. label00000EEE:
  1448. 00000EEE  3010                     move.w     D0, [A0]
  1449. label00000EF0:
  1450. 00000EF0  67FE                     beq        -0x0 /* 00000EF0 */
  1451. 00000EF2  4EF0 0000                jmp        [A0 + D0.w]
  1452. fn00000EF6:
  1453. 00000EF6  42AD EB50                clr.l      [A5 - 0x14B0]
  1454. 00000EFA  7001                     moveq.l    D0, 0x01
  1455. 00000EFC  1B40 EB54                move.b     [A5 - 0x14AC], D0
  1456. 00000F00  422D EB55                clr.b      [A5 - 0x14AB]
  1457. 00000F04  700D                     moveq.l    D0, 0x0D
  1458. 00000F06  1B40 EB5A                move.b     [A5 - 0x14A6], D0
  1459. 00000F0A  7001                     moveq.l    D0, 0x01
  1460. 00000F0C  3B40 EB4E                move.w     [A5 - 0x14B2], D0
  1461. 00000F10  7001                     moveq.l    D0, 0x01
  1462. 00000F12  1B40 EB59                move.b     [A5 - 0x14A7], D0
  1463. 00000F16  422D EB56                clr.b      [A5 - 0x14AA]
  1464. 00000F1A  422D EB57                clr.b      [A5 - 0x14A9]
  1465. 00000F1E  422D EB58                clr.b      [A5 - 0x14A8]
  1466. 00000F22  422D EB5B                clr.b      [A5 - 0x14A5]
  1467. 00000F26  7001                     moveq.l    D0, 0x01
  1468. 00000F28  3B40 EB48                move.w     [A5 - 0x14B8], D0
  1469. 00000F2C  42AD EB62                clr.l      [A5 - 0x149E]
  1470. 00000F30  41ED 00B2                lea.l      A0, [A5 + 0xB2 /* export_18 */]
  1471. 00000F34  2B48 EB5E                move.l     [A5 - 0x14A2], A0
  1472. 00000F38  41ED 0072                lea.l      A0, [A5 + 0x72 /* export_10 */]
  1473. 00000F3C  2B48 EB66                move.l     [A5 - 0x149A], A0
  1474. 00000F40  42A7                     clr.l      -[A7]
  1475. 00000F42  4EBA F8E0                jsr        [PC - 0x720 /* 00000824 */]
  1476. 00000F46  205F                     movea.l    A0, [A7]+
  1477. 00000F48  2B48 EB6A                move.l     [A5 - 0x1496], A0
  1478. 00000F4C  486D EB44                pea.l      [A5 - 0x14BC]
  1479. 00000F50  4EBA 0124                jsr        [PC + 0x124 /* 00001076 */]
  1480. 00000F54  205F                     movea.l    A0, [A7]+
  1481. 00000F56  4ED0                     jmp        [A0]
  1482. fn00000F58:
  1483. 00000F58  42AD EB8C                clr.l      [A5 - 0x1474]
  1484. 00000F5C  422D EB90                clr.b      [A5 - 0x1470]
  1485. 00000F60  7001                     moveq.l    D0, 0x01
  1486. 00000F62  1B40 EB91                move.b     [A5 - 0x146F], D0
  1487. 00000F66  700D                     moveq.l    D0, 0x0D
  1488. 00000F68  1B40 EB96                move.b     [A5 - 0x146A], D0
  1489. 00000F6C  7001                     moveq.l    D0, 0x01
  1490. 00000F6E  3B40 EB8A                move.w     [A5 - 0x1476], D0
  1491. 00000F72  7001                     moveq.l    D0, 0x01
  1492. 00000F74  1B40 EB95                move.b     [A5 - 0x146B], D0
  1493. 00000F78  422D EB97                clr.b      [A5 - 0x1469]
  1494. 00000F7C  7002                     moveq.l    D0, 0x02
  1495. 00000F7E  3B40 EB84                move.w     [A5 - 0x147C], D0
  1496. 00000F82  41ED 00D2                lea.l      A0, [A5 + 0xD2 /* export_22 */]
  1497. 00000F86  2B48 EB9E                move.l     [A5 - 0x1462], A0
  1498. 00000F8A  42AD EB9A                clr.l      [A5 - 0x1466]
  1499. 00000F8E  41ED 0072                lea.l      A0, [A5 + 0x72 /* export_10 */]
  1500. 00000F92  2B48 EBA2                move.l     [A5 - 0x145E], A0
  1501. 00000F96  42A7                     clr.l      -[A7]
  1502. 00000F98  4EBA F88A                jsr        [PC - 0x776 /* 00000824 */]
  1503. 00000F9C  205F                     movea.l    A0, [A7]+
  1504. 00000F9E  2B48 EBA6                move.l     [A5 - 0x145A], A0
  1505. 00000FA2  486D EB80                pea.l      [A5 - 0x1480]
  1506. 00000FA6  4EBA 00CE                jsr        [PC + 0xCE /* 00001076 */]
  1507. 00000FAA  205F                     movea.l    A0, [A7]+
  1508. 00000FAC  4ED0                     jmp        [A0]
  1509. export_12:
  1510. 00000FAE  2F01                     move.l     -[A7], D1
  1511. 00000FB0  222F 0008                move.l     D1, [A7 + 0x8]
  1512. 00000FB4  2F6F 0004 0008           move.l     [A7 + 0x8], [A7 + 0x4]
  1513. 00000FBA  2F40 0004                move.l     [A7 + 0x4], D0
  1514. 00000FBE  202F 000C                move.l     D0, [A7 + 0xC]
  1515. 00000FC2  48E7 3100                movem.l    -[A7], D2,D3,D7
  1516. 00000FC6  4EBA 047C                jsr        [PC + 0x47C /* 00001444 */]
  1517. 00000FCA  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1518. 00000FCE  2F40 000C                move.l     [A7 + 0xC], D0
  1519. 00000FD2  221F                     move.l     D1, [A7]+
  1520. 00000FD4  201F                     move.l     D0, [A7]+
  1521. 00000FD6  4E75                     rts
  1522. export_13:
  1523. 00000FD8  2F01                     move.l     -[A7], D1
  1524. 00000FDA  222F 0008                move.l     D1, [A7 + 0x8]
  1525. 00000FDE  2F6F 0004 0008           move.l     [A7 + 0x8], [A7 + 0x4]
  1526. 00000FE4  2F40 0004                move.l     [A7 + 0x4], D0
  1527. 00000FE8  202F 000C                move.l     D0, [A7 + 0xC]
  1528. 00000FEC  2F41 000C                move.l     [A7 + 0xC], D1
  1529. 00000FF0  48E7 3100                movem.l    -[A7], D2,D3,D7
  1530. 00000FF4  4EBA 044E                jsr        [PC + 0x44E /* 00001444 */]
  1531. 00000FF8  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  1532. 00000FFC  2001                     move.l     D0, D1
  1533. 00000FFE  2F40 000C                move.l     [A7 + 0xC], D0
  1534. 00001002  221F                     move.l     D1, [A7]+
  1535. 00001004  201F                     move.l     D0, [A7]+
  1536. 00001006  4E75                     rts
  1537. export_14:
  1538. 00001008  2F01                     move.l     -[A7], D1
  1539. 0000100A  222F 0008                move.l     D1, [A7 + 0x8]
  1540. 0000100E  2F6F 0004 0008           move.l     [A7 + 0x8], [A7 + 0x4]
  1541. 00001014  2F40 0004                move.l     [A7 + 0x4], D0
  1542. 00001018  202F 000C                move.l     D0, [A7 + 0xC]
  1543. 0000101C  48E7 3C00                movem.l    -[A7], D2,D3,D4,D5
  1544. 00001020  2400                     move.l     D2, D0
  1545. 00001022  2601                     move.l     D3, D1
  1546. 00001024  4842                     swap.w     D2
  1547. 00001026  C4C3                     mulu.w     D2, D3
  1548. 00001028  2800                     move.l     D4, D0
  1549. 0000102A  2A01                     move.l     D5, D1
  1550. 0000102C  4845                     swap.w     D5
  1551. 0000102E  C8C5                     mulu.w     D4, D5
  1552. 00001030  D444                     add.w      D2, D4
  1553. 00001032  4842                     swap.w     D2
  1554. 00001034  4242                     clr.w      D2
  1555. 00001036  C0C1                     mulu.w     D0, D1
  1556. 00001038  D082                     add.l      D0, D2
  1557. 0000103A  4CDF 003C                movem.l    D2,D3,D4,D5, [A7]+
  1558. 0000103E  2F40 000C                move.l     [A7 + 0xC], D0
  1559. 00001042  221F                     move.l     D1, [A7]+
  1560. 00001044  201F                     move.l     D0, [A7]+
  1561. 00001046  4E75                     rts
  1562. export_15:
  1563. fn00001048:
  1564. 00001048  2F0A                     move.l     -[A7], A2
  1565. 0000104A  226F 0008                movea.l    A1, [A7 + 0x8]
  1566. 0000104E  246F 000C                movea.l    A2, [A7 + 0xC]
  1567. 00001052  302F 0010                move.w     D0, [A7 + 0x10]
  1568. 00001056  3400                     move.w     D2, D0
  1569. 00001058  121A                     move.b     D1, [A2]+
  1570. 0000105A  B202                     cmp.b      D1, D2
  1571. 0000105C  6402                     bcc        +0x4 /* 00001060 */
  1572. 0000105E  1401                     move.b     D2, D1
  1573. label00001060:
  1574. 00001060  12C2                     move.b     [A1]+, D2
  1575. 00001062  6002                     bra        +0x4 /* 00001066 */
  1576. label00001064:
  1577. 00001064  12DA                     move.b     [A1]+, [A2]+
  1578. label00001066:
  1579. 00001066  51CA FFFC                dbf        D2, -0x6 /* 00001064 */
  1580. 0000106A  B001                     cmp.b      D0, D1
  1581. 0000106C  245F                     movea.l    A2, [A7]+
  1582. 0000106E  205F                     movea.l    A0, [A7]+
  1583. 00001070  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1584. 00001074  4ED0                     jmp        [A0]
  1585. fn00001076:
  1586. 00001076  4E56 0000                link       A6, 0
  1587. 0000107A  2F0C                     move.l     -[A7], A4
  1588. 0000107C  286E 0008                movea.l    A4, [A6 + 0x8]
  1589. 00001080  28AD ECC8                move.l     [A4], [A5 - 0x1338]
  1590. 00001084  2B4C ECC8                move.l     [A5 - 0x1338], A4
  1591. 00001088  285F                     movea.l    A4, [A7]+
  1592. 0000108A  4E5E                     unlink     A6
  1593. 0000108C  205F                     movea.l    A0, [A7]+
  1594. 0000108E  4FEF 0004                lea.l      A7, [A7 + 0x4]
  1595. 00001092  4ED0                     jmp        [A0]
  1596. fn00001094:
  1597. 00001094  4E56 0000                link       A6, 0
  1598. 00001098  7007                     moveq.l    D0, 0x07
  1599. 0000109A  1B40 EBBC                move.b     [A5 - 0x1444], D0
  1600. 0000109E  704C                     moveq.l    D0, 0x4C
  1601. 000010A0  1B40 EBBD                move.b     [A5 - 0x1443], D0
  1602. 000010A4  7053                     moveq.l    D0, 0x53
  1603. 000010A6  1B40 EBBE                move.b     [A5 - 0x1442], D0
  1604. 000010AA  7050                     moveq.l    D0, 0x50
  1605. 000010AC  1B40 EBBF                move.b     [A5 - 0x1441], D0
  1606. 000010B0  7044                     moveq.l    D0, 0x44
  1607. 000010B2  1B40 EBC0                move.b     [A5 - 0x1440], D0
  1608. 000010B6  7046                     moveq.l    D0, 0x46
  1609. 000010B8  1B40 EBC1                move.b     [A5 - 0x143F], D0
  1610. 000010BC  306E 0008                movea.w    A0, [A6 + 0x8]
  1611. 000010C0  2008                     move.l     D0, A0
  1612. 000010C2  81FC 000A                divs.w     D0, 0xA /* '\n' */
  1613. 000010C6  0640 0030                addi.w     D0, 0x30 /* '0' */
  1614. 000010CA  1B40 EBC2                move.b     [A5 - 0x143E], D0
  1615. 000010CE  306E 0008                movea.w    A0, [A6 + 0x8]
  1616. 000010D2  2008                     move.l     D0, A0
  1617. 000010D4  81FC 000A                divs.w     D0, 0xA /* '\n' */
  1618. 000010D8  4840                     swap.w     D0
  1619. 000010DA  0640 0030                addi.w     D0, 0x30 /* '0' */
  1620. 000010DE  1B40 EBC3                move.b     [A5 - 0x143D], D0
  1621. 000010E2  41ED EBBC                lea.l      A0, [A5 - 0x1444]
  1622. 000010E6  2008                     move.l     D0, A0
  1623. 000010E8  4E5E                     unlink     A6
  1624. 000010EA  205F                     movea.l    A0, [A7]+
  1625. 000010EC  4FEF 0002                lea.l      A7, [A7 + 0x2]
  1626. 000010F0  2E80                     move.l     [A7], D0
  1627. 000010F2  4ED0                     jmp        [A0]
  1628. fn000010F4:
  1629. 000010F4  4E56 0000                link       A6, 0
  1630. 000010F8  48E7 0108                movem.l    -[A7], D7,A4
  1631. 000010FC  286E 0008                movea.l    A4, [A6 + 0x8]
  1632. 00001100  4A6C 0004                tst.w      [A4 + 0x4]
  1633. 00001104  6704                     beq        +0x6 /* 0000110A */
  1634. 00001106  7000                     moveq.l    D0, 0x00
  1635. 00001108  6046                     bra        +0x48 /* 00001150 */
  1636. label0000110A:
  1637. 0000110A  3B6C 0006 ECF8           move.w     [A5 - 0x1308], [A4 + 0x6]
  1638. 00001110  4267                     clr.w      -[A7]
  1639. 00001112  486D ECE0                pea.l      [A5 - 0x1320]
  1640. 00001116  4267                     clr.w      -[A7]
  1641. 00001118  4EBA 04F2                jsr        [PC + 0x4F2 /* 0000160C */]
  1642. 0000111C  301F                     move.w     D0, [A7]+
  1643. 0000111E  3E00                     move.w     D7, D0
  1644. 00001120  4A47                     tst.w      D7
  1645. 00001122  662A                     bne        +0x2C /* 0000114E */
  1646. 00001124  4A2C 0017                tst.b      [A4 + 0x17]
  1647. 00001128  6724                     beq        +0x26 /* 0000114E */
  1648. 0000112A  42A7                     clr.l      -[A7]
  1649. 0000112C  3F2C 0018                move.w     -[A7], [A4 + 0x18]
  1650. 00001130  4EBA FF62                jsr        [PC - 0x9E /* 00001094 */]
  1651. 00001134  205F                     movea.l    A0, [A7]+
  1652. 00001136  2B48 ECF2                move.l     [A5 - 0x130E], A0
  1653. 0000113A  426D ECF6                clr.w      [A5 - 0x130A]
  1654. 0000113E  4267                     clr.w      -[A7]
  1655. 00001140  486D ECE0                pea.l      [A5 - 0x1320]
  1656. 00001144  4267                     clr.w      -[A7]
  1657. 00001146  4EBA 04FA                jsr        [PC + 0x4FA /* 00001642 */]
  1658. 0000114A  301F                     move.w     D0, [A7]+
  1659. 0000114C  3E00                     move.w     D7, D0
  1660. label0000114E:
  1661. 0000114E  3007                     move.w     D0, D7
  1662. label00001150:
  1663. 00001150  4CDF 1080                movem.l    D7,A4, [A7]+
  1664. 00001154  4E5E                     unlink     A6
  1665. 00001156  205F                     movea.l    A0, [A7]+
  1666. 00001158  4FEF 0004                lea.l      A7, [A7 + 0x4]
  1667. 0000115C  3E80                     move.w     [A7], D0
  1668. 0000115E  4ED0                     jmp        [A0]
  1669. 00001160  588F                     addq.l     A7, 4
  1670. 00001162  301F                     move.w     D0, [A7]+
  1671. 00001164  4267                     clr.w      -[A7]
  1672. 00001166  3F00                     move.w     -[A7], D0
  1673. 00001168  202D EA0E                move.l     D0, [A5 - 0x15F2]
  1674. 0000116C  671A                     beq        +0x1C /* 00001188 */
  1675. 0000116E  2040                     movea.l    A0, D0
  1676. 00001170  202D EA12                move.l     D0, [A5 - 0x15EE]
  1677. 00001174  6702                     beq        +0x4 /* 00001178 */
  1678. 00001176  2F00                     move.l     -[A7], D0
  1679. label00001178:
  1680. 00001178  4E90                     jsr        [A0]
  1681. 0000117A  4A57                     tst.w      [A7]
  1682. 0000117C  660A                     bne        +0xC /* 00001188 */
  1683. 0000117E  4CED DDF8 EA16           movem.l    D3,D4,D5,D6,D7,A0,A2,A3,A4,A6,A7, [A5 - 0x15EA]
  1684. 00001184  4ED0                     jmp        [A0]
  1685. export_16:
  1686. 00001186  3F00                     move.w     -[A7], D0
  1687. label00001188:
  1688. 00001188  303C 07D1                move.w     D0, 0x7D1
  1689. 0000118C  4EBA 0208                jsr        [PC + 0x208 /* 00001396 */]
  1690. 00001190  660A                     bne        +0xC /* 0000119C */
  1691. 00001192  303C 07D2                move.w     D0, 0x7D2
  1692. 00001196  4EBA 01FE                jsr        [PC + 0x1FE /* 00001396 */]
  1693. 0000119A  6708                     beq        +0xA /* 000011A4 */
  1694. label0000119C:
  1695. 0000119C  2050                     movea.l    A0, [A0]
  1696. 0000119E  4E90                     jsr        [A0]
  1697. 000011A0  4EFA EEE4                jmp        [PC - 0x111C /* 00000086 */]
  1698. label000011A4:
  1699. 000011A4  487A 0006                pea.l      [PC + 0x6 /* 000011AC, value 0xD52554E '\rRUN', pstring "RUNTIME ERROR" */]
  1700. 000011A8  ABFF                     syscall    DebugStr
  1701. 000011AA  A9F4                     syscall    ExitToShell
  1702. 000011AC  0D52                     bchg       [A2], D6
  1703. 000011AE  554E                     subq.w     A6, 2
  1704. 000011B0  5449                     addq.w     A1, 2
  1705. 000011B2  4D45                     chk.w      D6, D5
  1706. 000011B4  2045                     movea.l    A0, D5
  1707. 000011B6  5252                     addq.w     [A2], 1
  1708. 000011B8  4F52                     chk.w      D7, [A2]
  1709. export_17:
  1710. 000011BA  2F0C                     move.l     -[A7], A4
  1711. 000011BC  286D ECC8                movea.l    A4, [A5 - 0x1338]
  1712. 000011C0  600C                     bra        +0xE /* 000011CE */
  1713. label000011C2:
  1714. 000011C2  4267                     clr.w      -[A7]
  1715. 000011C4  2F0C                     move.l     -[A7], A4
  1716. 000011C6  4EBA FF2C                jsr        [PC - 0xD4 /* 000010F4 */]
  1717. 000011CA  301F                     move.w     D0, [A7]+
  1718. 000011CC  2854                     movea.l    A4, [A4]
  1719. label000011CE:
  1720. 000011CE  200C                     move.l     D0, A4
  1721. 000011D0  66F0                     bne        -0xE /* 000011C2 */
  1722. 000011D2  285F                     movea.l    A4, [A7]+
  1723. 000011D4  205F                     movea.l    A0, [A7]+
  1724. 000011D6  4ED0                     jmp        [A0]
  1725. export_18:
  1726. 000011D8  4E56 FFEA                link       A6, -0x0016
  1727. 000011DC  48E7 0108                movem.l    -[A7], D7,A4
  1728. 000011E0  286E 0008                movea.l    A4, [A6 + 0x8]
  1729. 000011E4  4EBA 0252                jsr        [PC + 0x252 /* 00001438 */]
  1730. 000011E8  0C40 0002                cmpi.w     D0, 0x2
  1731. 000011EC  6708                     beq        +0xA /* 000011F6 */
  1732. 000011EE  303C 001E                move.w     D0, 0x1E
  1733. 000011F2  4EED 00A2                jmp        [A5 + 0xA2 /* export_16 */]
  1734. label000011F6:
  1735. 000011F6  4A2C 0012                tst.b      [A4 + 0x12]
  1736. 000011FA  6600 0192                bne        +0x194 /* 0000138E */
  1737. 000011FE  486E FFEA                pea.l      [A6 - 0x16]
  1738. 00001202  A874                     syscall    GetPort
  1739. 00001204  4EBA F084                jsr        [PC - 0xF7C /* 0000028A */]
  1740. 00001208  7000                     moveq.l    D0, 0x00
  1741. 0000120A  102C 0016                move.b     D0, [A4 + 0x16]
  1742. 0000120E  0C40 000D                cmpi.w     D0, 0xD /* '\r' */
  1743. 00001212  6600 0140                bne        +0x142 /* 00001354 */
  1744. 00001216  41ED EBC4                lea.l      A0, [A5 - 0x143C]
  1745. 0000121A  2B48 ECC4                move.l     [A5 - 0x133C], A0
  1746. 0000121E  3F3C 0001                move.w     -[A7], 0x1
  1747. 00001222  4EBA FB46                jsr        [PC - 0x4BA /* 00000D6A */]
  1748. label00001226:
  1749. 00001226  4267                     clr.w      -[A7]
  1750. 00001228  4EBA FB40                jsr        [PC - 0x4C0 /* 00000D6A */]
  1751. 0000122C  4A2D EA49                tst.b      [A5 - 0x15B7]
  1752. 00001230  672E                     beq        +0x30 /* 00001260 */
  1753. 00001232  4EBA 020A                jsr        [PC + 0x20A /* 0000143E */]
  1754. 00001236  4A00                     tst.b      D0
  1755. 00001238  6726                     beq        +0x28 /* 00001260 */
  1756. 0000123A  7001                     moveq.l    D0, 0x01
  1757. 0000123C  1D40 FFEE                move.b     [A6 - 0x12], D0
  1758. 00001240  700D                     moveq.l    D0, 0x0D
  1759. 00001242  1D40 FFEF                move.b     [A6 - 0x11], D0
  1760. 00001246  2F0C                     move.l     -[A7], A4
  1761. 00001248  486E FFEE                pea.l      [A6 - 0x12]
  1762. 0000124C  4EBA F7C2                jsr        [PC - 0x83E /* 00000A10 */]
  1763. 00001250  3F3C 0002                move.w     -[A7], 0x2
  1764. 00001254  4EBA FB14                jsr        [PC - 0x4EC /* 00000D6A */]
  1765. 00001258  303C 0007                move.w     D0, 0x7
  1766. 0000125C  4EED 00A2                jmp        [A5 + 0xA2 /* export_16 */]
  1767. label00001260:
  1768. 00001260  4267                     clr.w      -[A7]
  1769. 00001262  3F3C FFFF                move.w     -[A7], 0xFFFF
  1770. 00001266  486E FFF0                pea.l      [A6 - 0x10]
  1771. 0000126A  A970                     syscall    GetNextEvent
  1772. 0000126C  101F                     move.b     D0, [A7]+
  1773. 0000126E  4A00                     tst.b      D0
  1774. 00001270  67B4                     beq        -0x4A /* 00001226 */
  1775. 00001272  0C6E 0003 FFF0           cmpi.w     [A6 - 0x10], 0x3
  1776. 00001278  6708                     beq        +0xA /* 00001282 */
  1777. 0000127A  0C6E 0005 FFF0           cmpi.w     [A6 - 0x10], 0x5
  1778. 00001280  66A4                     bne        -0x5A /* 00001226 */
  1779. label00001282:
  1780. 00001282  7001                     moveq.l    D0, 0x01
  1781. 00001284  1D40 FFEE                move.b     [A6 - 0x12], D0
  1782. 00001288  1E2E FFF5                move.b     D7, [A6 - 0xB]
  1783. 0000128C  1D47 FFEF                move.b     [A6 - 0x11], D7
  1784. 00001290  7000                     moveq.l    D0, 0x00
  1785. 00001292  1007                     move.b     D0, D7
  1786. 00001294  0C40 0003                cmpi.w     D0, 0x3
  1787. 00001298  6634                     bne        +0x36 /* 000012CE */
  1788. 0000129A  41ED EBC4                lea.l      A0, [A5 - 0x143C]
  1789. 0000129E  B1ED ECC4                cmpa.l     A0, [A5 - 0x133C]
  1790. 000012A2  6618                     bne        +0x1A /* 000012BC */
  1791. 000012A4  7001                     moveq.l    D0, 0x01
  1792. 000012A6  1940 0012                move.b     [A4 + 0x12], D0
  1793. 000012AA  3F3C 0002                move.w     -[A7], 0x2
  1794. 000012AE  4EBA FABA                jsr        [PC - 0x546 /* 00000D6A */]
  1795. 000012B2  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  1796. 000012B6  A873                     syscall    SetPort
  1797. 000012B8  6000 00D4                bra        +0xD6 /* 0000138E */
  1798. label000012BC:
  1799. 000012BC  4267                     clr.w      -[A7]
  1800. 000012BE  3F3C 0003                move.w     -[A7], 0x3
  1801. 000012C2  4878 0003                push.l     0x3
  1802. 000012C6  4EBA 0510                jsr        [PC + 0x510 /* 000017D8 */]
  1803. 000012CA  301F                     move.w     D0, [A7]+
  1804. 000012CC  6036                     bra        +0x38 /* 00001304 */
  1805. label000012CE:
  1806. 000012CE  7000                     moveq.l    D0, 0x00
  1807. 000012D0  1007                     move.b     D0, D7
  1808. 000012D2  0C40 0008                cmpi.w     D0, 0x8
  1809. 000012D6  6622                     bne        +0x24 /* 000012FA */
  1810. 000012D8  41ED EBC4                lea.l      A0, [A5 - 0x143C]
  1811. 000012DC  B1ED ECC4                cmpa.l     A0, [A5 - 0x133C]
  1812. 000012E0  640E                     bcc        +0x10 /* 000012F0 */
  1813. 000012E2  53AD ECC4                subq.l     [A5 - 0x133C], 1
  1814. 000012E6  2F0C                     move.l     -[A7], A4
  1815. 000012E8  4EBA F9D4                jsr        [PC - 0x62C /* 00000CBE */]
  1816. 000012EC  6000 FF38                bra        -0xC6 /* 00001226 */
  1817. label000012F0:
  1818. 000012F0  3F3C 0005                move.w     -[A7], 0x5
  1819. 000012F4  A9C8                     syscall    SysBeep
  1820. 000012F6  6000 FF2E                bra        -0xD0 /* 00001226 */
  1821. label000012FA:
  1822. 000012FA  7000                     moveq.l    D0, 0x00
  1823. 000012FC  1007                     move.b     D0, D7
  1824. 000012FE  0C40 000D                cmpi.w     D0, 0xD /* '\r' */
  1825. 00001302  661C                     bne        +0x1E /* 00001320 */
  1826. label00001304:
  1827. 00001304  206D ECC4                movea.l    A0, [A5 - 0x133C]
  1828. 00001308  52AD ECC4                addq.l     [A5 - 0x133C], 1
  1829. 0000130C  700D                     moveq.l    D0, 0x0D
  1830. 0000130E  1D40 FFEF                move.b     [A6 - 0x11], D0
  1831. 00001312  1080                     move.b     [A0], D0
  1832. 00001314  2F0C                     move.l     -[A7], A4
  1833. 00001316  486E FFEE                pea.l      [A6 - 0x12]
  1834. 0000131A  4EBA F6F4                jsr        [PC - 0x90C /* 00000A10 */]
  1835. 0000131E  6024                     bra        +0x26 /* 00001344 */
  1836. label00001320:
  1837. 00001320  41ED ECC3                lea.l      A0, [A5 - 0x133D]
  1838. 00001324  B1ED ECC4                cmpa.l     A0, [A5 - 0x133C]
  1839. 00001328  6300 FEFC                bls        -0x102 /* 00001226 */
  1840. 0000132C  206D ECC4                movea.l    A0, [A5 - 0x133C]
  1841. 00001330  52AD ECC4                addq.l     [A5 - 0x133C], 1
  1842. 00001334  1087                     move.b     [A0], D7
  1843. 00001336  2F0C                     move.l     -[A7], A4
  1844. 00001338  486E FFEE                pea.l      [A6 - 0x12]
  1845. 0000133C  4EBA F6D2                jsr        [PC - 0x92E /* 00000A10 */]
  1846. 00001340  6000 FEE4                bra        -0x11A /* 00001226 */
  1847. label00001344:
  1848. 00001344  41ED EBC4                lea.l      A0, [A5 - 0x143C]
  1849. 00001348  2B48 ECC4                move.l     [A5 - 0x133C], A0
  1850. 0000134C  3F3C 0002                move.w     -[A7], 0x2
  1851. 00001350  4EBA FA18                jsr        [PC - 0x5E8 /* 00000D6A */]
  1852. label00001354:
  1853. 00001354  206D ECC4                movea.l    A0, [A5 - 0x133C]
  1854. 00001358  52AD ECC4                addq.l     [A5 - 0x133C], 1
  1855. 0000135C  1010                     move.b     D0, [A0]
  1856. 0000135E  1940 003A                move.b     [A4 + 0x3A], D0
  1857. 00001362  1940 0016                move.b     [A4 + 0x16], D0
  1858. 00001366  0240 00FF                andi.w     D0, 0xFF
  1859. 0000136A  0C40 000D                cmpi.w     D0, 0xD /* '\r' */
  1860. 0000136E  660E                     bne        +0x10 /* 0000137E */
  1861. 00001370  7001                     moveq.l    D0, 0x01
  1862. 00001372  1940 0014                move.b     [A4 + 0x14], D0
  1863. 00001376  7020                     moveq.l    D0, 0x20
  1864. 00001378  1940 003A                move.b     [A4 + 0x3A], D0
  1865. 0000137C  6004                     bra        +0x6 /* 00001382 */
  1866. label0000137E:
  1867. 0000137E  422C 0014                clr.b      [A4 + 0x14]
  1868. label00001382:
  1869. 00001382  7001                     moveq.l    D0, 0x01
  1870. 00001384  1940 0013                move.b     [A4 + 0x13], D0
  1871. 00001388  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  1872. 0000138C  A873                     syscall    SetPort
  1873. label0000138E:
  1874. 0000138E  4CDF 1080                movem.l    D7,A4, [A7]+
  1875. 00001392  4E5E                     unlink     A6
  1876. 00001394  4E75                     rts
  1877. fn00001396:
  1878. 00001396  598F                     subq.l     A7, 4
  1879. 00001398  2F3C 4C53 5020           move.l     -[A7], 0x4C535020 /* 'LSP ' */
  1880. 0000139E  3F00                     move.w     -[A7], D0
  1881. 000013A0  A9A0                     syscall    GetResource
  1882. 000013A2  205F                     movea.l    A0, [A7]+
  1883. 000013A4  2008                     move.l     D0, A0
  1884. 000013A6  4E75                     rts
  1885. export_19:
  1886. 000013A8  48E7 0308                movem.l    -[A7], D6,D7,A4
  1887. 000013AC  41ED ECC8                lea.l      A0, [A5 - 0x1338]
  1888. 000013B0  2848                     movea.l    A4, A0
  1889. 000013B2  2E0F                     move.l     D7, A7
  1890. 000013B4  2C2E FFFC                move.l     D6, [A6 - 0x4]
  1891. 000013B8  601A                     bra        +0x1C /* 000013D4 */
  1892. label000013BA:
  1893. 000013BA  BE94                     cmp.l      D7, [A4]
  1894. 000013BC  6C14                     bge        +0x16 /* 000013D2 */
  1895. 000013BE  BC94                     cmp.l      D6, [A4]
  1896. 000013C0  6F10                     ble        +0x12 /* 000013D2 */
  1897. 000013C2  4267                     clr.w      -[A7]
  1898. 000013C4  2F14                     move.l     -[A7], [A4]
  1899. 000013C6  4EBA FD2C                jsr        [PC - 0x2D4 /* 000010F4 */]
  1900. 000013CA  301F                     move.w     D0, [A7]+
  1901. 000013CC  2054                     movea.l    A0, [A4]
  1902. 000013CE  2890                     move.l     [A4], [A0]
  1903. 000013D0  6002                     bra        +0x4 /* 000013D4 */
  1904. label000013D2:
  1905. 000013D2  2854                     movea.l    A4, [A4]
  1906. label000013D4:
  1907. 000013D4  4A94                     tst.l      [A4]
  1908. 000013D6  66E2                     bne        -0x1C /* 000013BA */
  1909. 000013D8  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  1910. 000013DC  205F                     movea.l    A0, [A7]+
  1911. 000013DE  4ED0                     jmp        [A0]
  1912. export_20:
  1913. 000013E0  426D EA44                clr.w      [A5 - 0x15BC]
  1914. 000013E4  4A2D EA48                tst.b      [A5 - 0x15B8]
  1915. 000013E8  664A                     bne        +0x4C /* 00001434 */
  1916. 000013EA  42AD ECC8                clr.l      [A5 - 0x1338]
  1917. 000013EE  2B7C 4441 5441 ECD0      move.l     [A5 - 0x1330], 0x44415441 /* 'DATA' */
  1918. 000013F6  2B7C 4A4F 484E ECD4      move.l     [A5 - 0x132C], 0x4A4F484E /* 'JOHN' */
  1919. 000013FE  42AD ECD8                clr.l      [A5 - 0x1328]
  1920. 00001402  426D ECDC                clr.w      [A5 - 0x1324]
  1921. 00001406  426D ECDE                clr.w      [A5 - 0x1322]
  1922. 0000140A  422D ECFA                clr.b      [A5 - 0x1306]
  1923. 0000140E  426D ECF6                clr.w      [A5 - 0x130A]
  1924. 00001412  42AD ECEC                clr.l      [A5 - 0x1314]
  1925. 00001416  41ED 00BA                lea.l      A0, [A5 + 0xBA /* export_19 */]
  1926. 0000141A  2B48 EA0A                move.l     [A5 - 0x15F6], A0
  1927. 0000141E  41ED 00AA                lea.l      A0, [A5 + 0xAA /* export_17 */]
  1928. 00001422  2B48 EA06                move.l     [A5 - 0x15FA], A0
  1929. 00001426  7001                     moveq.l    D0, 0x01
  1930. 00001428  1B40 EA48                move.b     [A5 - 0x15B8], D0
  1931. 0000142C  4EBA FAC8                jsr        [PC - 0x538 /* 00000EF6 */]
  1932. 00001430  4EBA FB26                jsr        [PC - 0x4DA /* 00000F58 */]
  1933. label00001434:
  1934. 00001434  205F                     movea.l    A0, [A7]+
  1935. 00001436  4ED0                     jmp        [A0]
  1936. fn00001438:
  1937. 00001438  302D FFDC                move.w     D0, [A5 - 0x24]
  1938. 0000143C  4E75                     rts
  1939. fn0000143E:
  1940. 0000143E  102D FFD6                move.b     D0, [A5 - 0x2A]
  1941. 00001442  4E75                     rts
  1942. fn00001444:
  1943. 00001444  4A80                     tst.l      D0
  1944. 00001446  6A1C                     bpl        +0x1E /* 00001464 */
  1945. 00001448  4A81                     tst.l      D1
  1946. 0000144A  6A0C                     bpl        +0xE /* 00001458 */
  1947. 0000144C  4480                     neg.l      D0
  1948. 0000144E  4481                     neg.l      D1
  1949. 00001450  4EBA 0020                jsr        [PC + 0x20 /* 00001472 */]
  1950. 00001454  4481                     neg.l      D1
  1951. 00001456  4E75                     rts
  1952. label00001458:
  1953. 00001458  4480                     neg.l      D0
  1954. 0000145A  4EBA 0016                jsr        [PC + 0x16 /* 00001472 */]
  1955. 0000145E  4480                     neg.l      D0
  1956. 00001460  4481                     neg.l      D1
  1957. 00001462  4E75                     rts
  1958. label00001464:
  1959. 00001464  4A81                     tst.l      D1
  1960. 00001466  6A0A                     bpl        +0xC /* 00001472 */
  1961. 00001468  4481                     neg.l      D1
  1962. 0000146A  4EBA 0006                jsr        [PC + 0x6 /* 00001472 */]
  1963. 0000146E  4480                     neg.l      D0
  1964. 00001470  4E75                     rts
  1965. fn00001472:
  1966. 00001472  2E3C 0000 FFFF           move.l     D7, 0xFFFF
  1967. 00001478  B280                     cmp.l      D1, D0
  1968. 0000147A  6306                     bls        +0x8 /* 00001482 */
  1969. 0000147C  2200                     move.l     D1, D0
  1970. 0000147E  7000                     moveq.l    D0, 0x00
  1971. 00001480  4E75                     rts
  1972. label00001482:
  1973. 00001482  B087                     cmp.l      D0, D7
  1974. 00001484  620C                     bhi        +0xE /* 00001492 */
  1975. 00001486  80C1                     divu.w     D0, D1
  1976. 00001488  4840                     swap.w     D0
  1977. 0000148A  3200                     move.w     D1, D0
  1978. 0000148C  4240                     clr.w      D0
  1979. 0000148E  4840                     swap.w     D0
  1980. 00001490  4E75                     rts
  1981. label00001492:
  1982. 00001492  B287                     cmp.l      D1, D7
  1983. 00001494  621A                     bhi        +0x1C /* 000014B0 */
  1984. 00001496  2E00                     move.l     D7, D0
  1985. 00001498  4240                     clr.w      D0
  1986. 0000149A  4840                     swap.w     D0
  1987. 0000149C  80C1                     divu.w     D0, D1
  1988. 0000149E  4840                     swap.w     D0
  1989. 000014A0  4847                     swap.w     D7
  1990. 000014A2  3E00                     move.w     D7, D0
  1991. 000014A4  4847                     swap.w     D7
  1992. 000014A6  8EC1                     divu.w     D7, D1
  1993. 000014A8  3007                     move.w     D0, D7
  1994. 000014AA  4847                     swap.w     D7
  1995. 000014AC  3207                     move.w     D1, D7
  1996. 000014AE  4E75                     rts
  1997. label000014B0:
  1998. 000014B0  2400                     move.l     D2, D0
  1999. 000014B2  2601                     move.l     D3, D1
  2000. label000014B4:
  2001. 000014B4  E288                     lsr        D0, 1
  2002. 000014B6  E289                     lsr        D1, 1
  2003. 000014B8  B287                     cmp.l      D1, D7
  2004. 000014BA  62F8                     bhi        -0x6 /* 000014B4 */
  2005. 000014BC  80C1                     divu.w     D0, D1
  2006. 000014BE  C087                     and.l      D0, D7
  2007. label000014C0:
  2008. 000014C0  3203                     move.w     D1, D3
  2009. 000014C2  C2C0                     mulu.w     D1, D0
  2010. 000014C4  2E03                     move.l     D7, D3
  2011. 000014C6  4847                     swap.w     D7
  2012. 000014C8  CEC0                     mulu.w     D7, D0
  2013. 000014CA  4847                     swap.w     D7
  2014. 000014CC  D287                     add.l      D1, D7
  2015. 000014CE  6508                     bcs        +0xA /* 000014D8 */
  2016. 000014D0  9282                     sub.l      D1, D2
  2017. 000014D2  6204                     bhi        +0x6 /* 000014D8 */
  2018. 000014D4  4481                     neg.l      D1
  2019. 000014D6  4E75                     rts
  2020. label000014D8:
  2021. 000014D8  5340                     subq.w     D0, 1
  2022. 000014DA  60E4                     bra        -0x1A /* 000014C0 */
  2023. export_21:
  2024. fn000014DC:
  2025. 000014DC  206F 0004                movea.l    A0, [A7 + 0x4]
  2026. 000014E0  226F 0008                movea.l    A1, [A7 + 0x8]
  2027. 000014E4  7000                     moveq.l    D0, 0x00
  2028. 000014E6  1018                     move.b     D0, [A0]+
  2029. 000014E8  4840                     swap.w     D0
  2030. 000014EA  1019                     move.b     D0, [A1]+
  2031. 000014EC  A03C                     syscall    CmpString
  2032. 000014EE  4E75                     rts
  2033. export_22:
  2034. 000014F0  4E56 0000                link       A6, 0
  2035. 000014F4  48E7 0018                movem.l    -[A7], A3,A4
  2036. 000014F8  286E 0008                movea.l    A4, [A6 + 0x8]
  2037. 000014FC  266E 000C                movea.l    A3, [A6 + 0xC]
  2038. 00001500  1013                     move.b     D0, [A3]
  2039. 00001502  0280 0000 00FF           andi.l     D0, 0xFF
  2040. 00001508  D1AC 000C                add.l      [A4 + 0xC], D0
  2041. 0000150C  7000                     moveq.l    D0, 0x00
  2042. 0000150E  1013                     move.b     D0, [A3]
  2043. 00001510  4840                     swap.w     D0
  2044. 00001512  4240                     clr.w      D0
  2045. 00001514  4840                     swap.w     D0
  2046. 00001516  D08B                     add.l      D0, A3
  2047. 00001518  2040                     movea.l    A0, D0
  2048. 0000151A  1010                     move.b     D0, [A0]
  2049. 0000151C  1940 0016                move.b     [A4 + 0x16], D0
  2050. 00001520  0240 00FF                andi.w     D0, 0xFF
  2051. 00001524  0C40 000C                cmpi.w     D0, 0xC
  2052. 00001528  660A                     bne        +0xC /* 00001534 */
  2053. 0000152A  2F0C                     move.l     -[A7], A4
  2054. 0000152C  4EBA F776                jsr        [PC - 0x88A /* 00000CA4 */]
  2055. 00001530  588F                     addq.l     A7, 4
  2056. 00001532  6008                     bra        +0xA /* 0000153C */
  2057. label00001534:
  2058. 00001534  2F0C                     move.l     -[A7], A4
  2059. 00001536  2F0B                     move.l     -[A7], A3
  2060. 00001538  4EBA F4D6                jsr        [PC - 0xB2A /* 00000A10 */]
  2061. label0000153C:
  2062. 0000153C  4CDF 1800                movem.l    A3,A4, [A7]+
  2063. 00001540  4E5E                     unlink     A6
  2064. 00001542  4E75                     rts
  2065. fn00001544:
  2066. 00001544  4E75                     rts
  2067. 00001546  225F                     movea.l    A1, [A7]+
  2068. 00001548  201F                     move.l     D0, [A7]+
  2069. 0000154A  A04C                     syscall    CompactMem
  2070. 0000154C  2E80                     move.l     [A7], D0
  2071. 0000154E  7000                     moveq.l    D0, 0x00
  2072. label00001550:
  2073. 00001550  2F09                     move.l     -[A7], A1
  2074. label00001552:
  2075. 00001552  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  2076. 00001556  4E75                     rts
  2077. 00001558  7000                     moveq.l    D0, 0x00
  2078. 0000155A  60F6                     bra        -0x8 /* 00001552 */
  2079. fn0000155C:
  2080. 0000155C  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2081. 00001560  6A2A                     bpl        +0x2C /* 0000158C */
  2082. 00001562  2078 0130                movea.l    A0, [0x00000130 /* ApplLimit */]
  2083. 00001566  43F8 0114                lea.l      A1, [0x00000114 /* HeapEnd */]
  2084. 0000156A  2008                     move.l     D0, A0
  2085. 0000156C  9091                     sub.l      D0, [A1]
  2086. 0000156E  740C                     moveq.l    D2, 0x0C
  2087. 00001570  B082                     cmp.l      D0, D2
  2088. 00001572  6516                     bcs        +0x18 /* 0000158A */
  2089. 00001574  2251                     movea.l    A1, [A1]
  2090. 00001576  21C8 0114                move.l     [0x00000114 /* HeapEnd */], A0
  2091. 0000157A  2280                     move.l     [A1], D0
  2092. 0000157C  4211                     clr.b      [A1]
  2093. 0000157E  2278 02AA                movea.l    A1, [0x000002AA /* ApplZone */]
  2094. 00001582  2288                     move.l     [A1], A0
  2095. 00001584  2082                     move.l     [A0], D2
  2096. 00001586  D1A9 000C                add.l      [A1 + 0xC], D0
  2097. label0000158A:
  2098. 0000158A  4E75                     rts
  2099. label0000158C:
  2100. 0000158C  A063                     syscall    MaxApplZone
  2101. 0000158E  4E75                     rts
  2102. export_23:
  2103. 00001590  225F                     movea.l    A1, [A7]+
  2104. 00001592  201F                     move.l     D0, [A7]+
  2105. 00001594  A11E                     syscall    NewPtr, flags=1
  2106. 00001596  2E88                     move.l     [A7], A0
  2107. 00001598  4EFA FFB6                jmp        [PC - 0x4A /* 00001550 */]
  2108. export_24:
  2109. 0000159C  225F                     movea.l    A1, [A7]+
  2110. 0000159E  205F                     movea.l    A0, [A7]+
  2111. 000015A0  A01F                     syscall    DisposPtr/DisposePtr
  2112. 000015A2  4EFA FFAC                jmp        [PC - 0x54 /* 00001550 */]
  2113. export_25:
  2114. fn000015A6:
  2115. 000015A6  225F                     movea.l    A1, [A7]+
  2116. 000015A8  201F                     move.l     D0, [A7]+
  2117. 000015AA  A122                     syscall    NewHandle, flags=1
  2118. 000015AC  2E88                     move.l     [A7], A0
  2119. 000015AE  4EFA FFA0                jmp        [PC - 0x60 /* 00001550 */]
  2120. export_26:
  2121. 000015B2  225F                     movea.l    A1, [A7]+
  2122. 000015B4  205F                     movea.l    A0, [A7]+
  2123. 000015B6  A023                     syscall    DisposHandle/DisposeHandle
  2124. 000015B8  4EFA FF96                jmp        [PC - 0x6A /* 00001550 */]
  2125. export_27:
  2126. 000015BC  225F                     movea.l    A1, [A7]+
  2127. 000015BE  205F                     movea.l    A0, [A7]+
  2128. 000015C0  A029                     syscall    HLock
  2129. 000015C2  4EFA FF8C                jmp        [PC - 0x74 /* 00001550 */]
  2130. export_28:
  2131. 000015C6  225F                     movea.l    A1, [A7]+
  2132. 000015C8  205F                     movea.l    A0, [A7]+
  2133. 000015CA  A02A                     syscall    HUnlock
  2134. 000015CC  4EFA FF82                jmp        [PC - 0x7E /* 00001550 */]
  2135. export_29:
  2136. 000015D0  225F                     movea.l    A1, [A7]+
  2137. 000015D2  205F                     movea.l    A0, [A7]+
  2138. 000015D4  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  2139. 000015D8  4ED1                     jmp        [A1]
  2140. export_30:
  2141. 000015DA  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  2142. 000015DE  2F00                     move.l     -[A7], D0
  2143. 000015E0  2009                     move.l     D0, A1
  2144. 000015E2  A9C6                     syscall    SecondsToDate/Secs2Date
  2145. 000015E4  4E75                     rts
  2146. export_31:
  2147. 000015E6  201F                     move.l     D0, [A7]+
  2148. 000015E8  225F                     movea.l    A1, [A7]+
  2149. 000015EA  205F                     movea.l    A0, [A7]+
  2150. 000015EC  2F00                     move.l     -[A7], D0
  2151. 000015EE  A03B                     syscall    Delay
  2152. 000015F0  2280                     move.l     [A1], D0
  2153. 000015F2  4E75                     rts
  2154. export_32:
  2155. 000015F4  225F                     movea.l    A1, [A7]+
  2156. 000015F6  121F                     move.b     D1, [A7]+
  2157. 000015F8  205F                     movea.l    A0, [A7]+
  2158. 000015FA  7000                     moveq.l    D0, 0x00
  2159. 000015FC  1018                     move.b     D0, [A0]+
  2160. 000015FE  2F09                     move.l     -[A7], A1
  2161. 00001600  4A01                     tst.b      D1
  2162. 00001602  6704                     beq        +0x6 /* 00001608 */
  2163. 00001604  A054                     syscall    UprString/UprText
  2164. 00001606  6002                     bra        +0x4 /* 0000160A */
  2165. label00001608:
  2166. 00001608  A254                     syscall    UprString/UprText, flags=2
  2167. label0000160A:
  2168. 0000160A  4E75                     rts
  2169. fn0000160C:
  2170. 0000160C  225F                     movea.l    A1, [A7]+
  2171. 0000160E  101F                     move.b     D0, [A7]+
  2172. 00001610  205F                     movea.l    A0, [A7]+
  2173. 00001612  6604                     bne        +0x6 /* 00001618 */
  2174. 00001614  A001                     syscall    Close
  2175. 00001616  6002                     bra        +0x4 /* 0000161A */
  2176. label00001618:
  2177. 00001618  A401                     syscall    Close, flags=4
  2178. label0000161A:
  2179. 0000161A  3E80                     move.w     [A7], D0
  2180. 0000161C  4ED1                     jmp        [A1]
  2181. fn0000161E:
  2182. 0000161E  225F                     movea.l    A1, [A7]+
  2183. 00001620  101F                     move.b     D0, [A7]+
  2184. 00001622  205F                     movea.l    A0, [A7]+
  2185. 00001624  6604                     bne        +0x6 /* 0000162A */
  2186. 00001626  A003                     syscall    Write
  2187. 00001628  6002                     bra        +0x4 /* 0000162C */
  2188. label0000162A:
  2189. 0000162A  A403                     syscall    Write, flags=4
  2190. label0000162C:
  2191. 0000162C  3E80                     move.w     [A7], D0
  2192. 0000162E  4ED1                     jmp        [A1]
  2193. fn00001630:
  2194. 00001630  225F                     movea.l    A1, [A7]+
  2195. 00001632  101F                     move.b     D0, [A7]+
  2196. 00001634  205F                     movea.l    A0, [A7]+
  2197. 00001636  6604                     bne        +0x6 /* 0000163C */
  2198. 00001638  A006                     syscall    KillIO
  2199. 0000163A  6002                     bra        +0x4 /* 0000163E */
  2200. label0000163C:
  2201. 0000163C  A406                     syscall    KillIO, flags=4
  2202. label0000163E:
  2203. 0000163E  3E80                     move.w     [A7], D0
  2204. 00001640  4ED1                     jmp        [A1]
  2205. fn00001642:
  2206. 00001642  225F                     movea.l    A1, [A7]+
  2207. 00001644  101F                     move.b     D0, [A7]+
  2208. 00001646  205F                     movea.l    A0, [A7]+
  2209. 00001648  6604                     bne        +0x6 /* 0000164E */
  2210. 0000164A  A009                     syscall    Delete/PBHDelete/HDelete
  2211. 0000164C  6002                     bra        +0x4 /* 00001650 */
  2212. label0000164E:
  2213. 0000164E  A409                     syscall    Delete/PBHDelete/HDelete, flags=4
  2214. label00001650:
  2215. 00001650  3E80                     move.w     [A7], D0
  2216. 00001652  4ED1                     jmp        [A1]
  2217. export_33:
  2218. 00001654  4E56 FFCE                link       A6, -0x0032
  2219. 00001658  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2220. 0000165C  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2221. 00001662  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2222. 00001668  4228 001A                clr.b      [A0 + 0x1A]
  2223. 0000166C  4228 001B                clr.b      [A0 + 0x1B]
  2224. 00001670  42A8 001C                clr.l      [A0 + 0x1C]
  2225. 00001674  A000                     syscall    Open/PBHOpen/HOpen
  2226. 00001676  226E 0008                movea.l    A1, [A6 + 0x8]
  2227. 0000167A  32A8 0018                move.w     [A1], [A0 + 0x18]
  2228. 0000167E  3D40 0012                move.w     [A6 + 0x12], D0
  2229. 00001682  4E5E                     unlink     A6
  2230. 00001684  205F                     movea.l    A0, [A7]+
  2231. 00001686  DEFC 000A                add.w      A7, 0xA /* '\n' */
  2232. 0000168A  4ED0                     jmp        [A0]
  2233. export_34:
  2234. 0000168C  4E56 FFCE                link       A6, -0x0032
  2235. 00001690  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2236. 00001694  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  2237. 0000169A  A001                     syscall    Close
  2238. 0000169C  3D40 000A                move.w     [A6 + 0xA], D0
  2239. 000016A0  4E5E                     unlink     A6
  2240. 000016A2  205F                     movea.l    A0, [A7]+
  2241. 000016A4  548F                     addq.l     A7, 2
  2242. 000016A6  4ED0                     jmp        [A0]
  2243. export_35:
  2244. 000016A8  51C1                     sf         D1
  2245. 000016AA  6002                     bra        +0x4 /* 000016AE */
  2246. export_36:
  2247. fn000016AC:
  2248. 000016AC  50C1                     st         D1
  2249. label000016AE:
  2250. 000016AE  4E56 FFCE                link       A6, -0x0032
  2251. 000016B2  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2252. 000016B6  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  2253. 000016BC  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  2254. 000016C2  226E 000C                movea.l    A1, [A6 + 0xC]
  2255. 000016C6  2151 0024                move.l     [A0 + 0x24], [A1]
  2256. 000016CA  4268 002C                clr.w      [A0 + 0x2C]
  2257. 000016CE  42A8 002E                clr.l      [A0 + 0x2E]
  2258. 000016D2  4A01                     tst.b      D1
  2259. 000016D4  6604                     bne        +0x6 /* 000016DA */
  2260. 000016D6  A002                     syscall    Read
  2261. 000016D8  6002                     bra        +0x4 /* 000016DC */
  2262. label000016DA:
  2263. 000016DA  A003                     syscall    Write
  2264. label000016DC:
  2265. 000016DC  3D40 0012                move.w     [A6 + 0x12], D0
  2266. 000016E0  226E 000C                movea.l    A1, [A6 + 0xC]
  2267. 000016E4  22A8 0028                move.l     [A1], [A0 + 0x28]
  2268. 000016E8  4E5E                     unlink     A6
  2269. 000016EA  225F                     movea.l    A1, [A7]+
  2270. 000016EC  DEFC 000A                add.w      A7, 0xA /* '\n' */
  2271. 000016F0  4ED1                     jmp        [A1]
  2272. export_37:
  2273. 000016F2  4E56 FFB0                link       A6, -0x0050
  2274. 000016F6  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2275. 000016FA  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2276. 00001700  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2277. 00001706  4228 001A                clr.b      [A0 + 0x1A]
  2278. 0000170A  4268 001C                clr.w      [A0 + 0x1C]
  2279. 0000170E  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2280. 00001710  3D40 0012                move.w     [A6 + 0x12], D0
  2281. 00001714  41E8 0020                lea.l      A0, [A0 + 0x20]
  2282. 00001718  226E 0008                movea.l    A1, [A6 + 0x8]
  2283. 0000171C  7010                     moveq.l    D0, 0x10
  2284. 0000171E  A02E                     syscall    BlockMove/BlockMoveData
  2285. 00001720  4E5E                     unlink     A6
  2286. 00001722  225F                     movea.l    A1, [A7]+
  2287. 00001724  DEFC 000A                add.w      A7, 0xA /* '\n' */
  2288. 00001728  4ED1                     jmp        [A1]
  2289. export_38:
  2290. 0000172A  4E56 FFC0                link       A6, -0x0040
  2291. 0000172E  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2292. 00001732  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  2293. 00001738  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2294. 0000173A  3D40 0010                move.w     [A6 + 0x10], D0
  2295. 0000173E  226E 0008                movea.l    A1, [A6 + 0x8]
  2296. 00001742  32A8 0016                move.w     [A1], [A0 + 0x16]
  2297. 00001746  4E5E                     unlink     A6
  2298. 00001748  225F                     movea.l    A1, [A7]+
  2299. 0000174A  508F                     addq.l     A7, 8
  2300. 0000174C  4ED1                     jmp        [A1]
  2301. export_39:
  2302. 0000174E  4E56 FFB0                link       A6, -0x0050
  2303. 00001752  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2304. 00001756  216E 0012 0012           move.l     [A0 + 0x12], [A6 + 0x12]
  2305. 0000175C  316E 0010 0016           move.w     [A0 + 0x16], [A6 + 0x10]
  2306. 00001762  4228 001A                clr.b      [A0 + 0x1A]
  2307. 00001766  A008                     syscall    Create/PBHCreate/HCreate
  2308. 00001768  4A40                     tst.w      D0
  2309. 0000176A  6614                     bne        +0x16 /* 00001780 */
  2310. 0000176C  4268 001C                clr.w      [A0 + 0x1C]
  2311. 00001770  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2312. 00001772  43E8 0020                lea.l      A1, [A0 + 0x20]
  2313. 00001776  22EE 0008                move.l     [A1]+, [A6 + 0x8]
  2314. 0000177A  22AE 000C                move.l     [A1], [A6 + 0xC]
  2315. 0000177E  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2316. label00001780:
  2317. 00001780  3D40 0016                move.w     [A6 + 0x16], D0
  2318. 00001784  4E5E                     unlink     A6
  2319. 00001786  225F                     movea.l    A1, [A7]+
  2320. 00001788  DEFC 000E                add.w      A7, 0xE
  2321. 0000178C  4ED1                     jmp        [A1]
  2322. export_40:
  2323. 0000178E  4E56 FFCE                link       A6, -0x0032
  2324. 00001792  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2325. 00001796  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2326. 0000179C  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  2327. 000017A2  A012                     syscall    SetEOF
  2328. 000017A4  3D40 000E                move.w     [A6 + 0xE], D0
  2329. 000017A8  4E5E                     unlink     A6
  2330. 000017AA  225F                     movea.l    A1, [A7]+
  2331. 000017AC  5C8F                     addq.l     A7, 6
  2332. 000017AE  4ED1                     jmp        [A1]
  2333. export_41:
  2334. 000017B0  4E56 FFCE                link       A6, -0x0032
  2335. 000017B4  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2336. 000017B8  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  2337. 000017BE  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  2338. 000017C4  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  2339. 000017CA  A044                     syscall    SetFPos
  2340. 000017CC  3D40 0010                move.w     [A6 + 0x10], D0
  2341. 000017D0  4E5E                     unlink     A6
  2342. 000017D2  225F                     movea.l    A1, [A7]+
  2343. 000017D4  508F                     addq.l     A7, 8
  2344. 000017D6  4ED1                     jmp        [A1]
  2345. fn000017D8:
  2346. 000017D8  225F                     movea.l    A1, [A7]+
  2347. 000017DA  201F                     move.l     D0, [A7]+
  2348. 000017DC  305F                     movea.w    A0, [A7]+
  2349. 000017DE  A02F                     syscall    PostEvent/PPostEvent
  2350. 000017E0  3E80                     move.w     [A7], D0
  2351. 000017E2  4ED1                     jmp        [A1]
  2352. export_42:
  2353. 000017E4  205F                     movea.l    A0, [A7]+
  2354. 000017E6  225F                     movea.l    A1, [A7]+
  2355. 000017E8  4219                     clr.b      [A1]+
  2356. 000017EA  12B8 0260                move.b     [A1], [0x00000260 /* SdVolume */]
  2357. 000017EE  4ED0                     jmp        [A0]
  2358. export_43:
  2359. 000017F0  226F 0004                movea.l    A1, [A7 + 0x4]
  2360. 000017F4  4251                     clr.w      [A1]
  2361. 000017F6  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  2362. 000017FA  A025                     syscall    GetHandleSize
  2363. 000017FC  4A80                     tst.l      D0
  2364. 000017FE  6F0E                     ble        +0x10 /* 0000180E */
  2365. 00001800  2050                     movea.l    A0, [A0]
  2366. 00001802  226F 0008                movea.l    A1, [A7 + 0x8]
  2367. 00001806  3298                     move.w     [A1], [A0]+
  2368. 00001808  226F 0004                movea.l    A1, [A7 + 0x4]
  2369. 0000180C  3290                     move.w     [A1], [A0]
  2370. label0000180E:
  2371. 0000180E  205F                     movea.l    A0, [A7]+
  2372. 00001810  504F                     addq.w     A7, 8
  2373. 00001812  4ED0                     jmp        [A0]
  2374. export_44:
  2375. 00001814  48E7 0030                movem.l    -[A7], A2,A3
  2376. 00001818  226F 000C                movea.l    A1, [A7 + 0xC]
  2377. 0000181C  42A9 0002                clr.l      [A1 + 0x2]
  2378. 00001820  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  2379. 00001824  A025                     syscall    GetHandleSize
  2380. 00001826  4A80                     tst.l      D0
  2381. 00001828  6F26                     ble        +0x28 /* 00001850 */
  2382. 0000182A  2450                     movea.l    A2, [A0]
  2383. 0000182C  544A                     addq.w     A2, 2
  2384. 0000182E  322F 0010                move.w     D1, [A7 + 0x10]
  2385. 00001832  B25A                     cmp.w      D1, [A2]+
  2386. 00001834  6E1A                     bgt        +0x1C /* 00001850 */
  2387. 00001836  5341                     subq.w     D1, 1
  2388. label00001838:
  2389. 00001838  6D16                     blt        +0x18 /* 00001850 */
  2390. 0000183A  204A                     movea.l    A0, A2
  2391. 0000183C  7002                     moveq.l    D0, 0x02
  2392. 0000183E  D028 0008                add.b      D0, [A0 + 0x8]
  2393. 00001842  0240 FFFE                andi.w     D0, 0xFFFE
  2394. 00001846  5040                     addq.w     D0, 8
  2395. 00001848  D4C0                     add.w      A2, D0
  2396. 0000184A  A02E                     syscall    BlockMove/BlockMoveData
  2397. 0000184C  5341                     subq.w     D1, 1
  2398. 0000184E  60E8                     bra        -0x16 /* 00001838 */
  2399. label00001850:
  2400. 00001850  4CDF 0C00                movem.l    A2,A3, [A7]+
  2401. 00001854  205F                     movea.l    A0, [A7]+
  2402. 00001856  5C4F                     addq.w     A7, 6
  2403. 00001858  4ED0                     jmp        [A0]
  2404. export_45:
  2405. 0000185A  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2406. 0000185E  6B22                     bmi        +0x24 /* 00001882 */
  2407. 00001860  303C 0090                move.w     D0, 0x90
  2408. 00001864  A346                     syscall    GetOSTrapAddress, flags=3
  2409. 00001866  2248                     movea.l    A1, A0
  2410. 00001868  303C 009F                move.w     D0, 0x9F
  2411. 0000186C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2412. 0000186E  B3C8                     cmpa.l     A1, A0
  2413. 00001870  6710                     beq        +0x12 /* 00001882 */
  2414. 00001872  225F                     movea.l    A1, [A7]+
  2415. 00001874  205F                     movea.l    A0, [A7]+
  2416. 00001876  301F                     move.w     D0, [A7]+
  2417. 00001878  2F09                     move.l     -[A7], A1
  2418. 0000187A  A090                     syscall    SysEnvirons
  2419. 0000187C  3F40 0004                move.w     [A7 + 0x4], D0
  2420. 00001880  4E75                     rts
  2421. label00001882:
  2422. 00001882  206F 0004                movea.l    A0, [A7 + 0x4]
  2423. 00001886  303C 0001                move.w     D0, 0x1
  2424. 0000188A  2248                     movea.l    A1, A0
  2425. 0000188C  6006                     bra        +0x8 /* 00001894 */
  2426. 0000188E  0313                     btst       [A3], D1
  2427. 00001890  0B02                     btst       D2, D5
  2428. 00001892  0100                     btst       D0, D0
  2429. label00001894:
  2430. 00001894  303C 0010                move.w     D0, 0x10
  2431. 00001898  E240                     asr        D0.w, 1
  2432. 0000189A  5340                     subq.w     D0, 1
  2433. label0000189C:
  2434. 0000189C  4258                     clr.w      [A0]+
  2435. 0000189E  51C8 FFFC                dbf        D0, -0x6 /* 0000189C */
  2436. 000018A2  32BC 0001                move.w     [A1], 0x1
  2437. 000018A6  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  2438. 000018AA  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  2439. 000018B0  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  2440. 000018B6  6742                     beq        +0x44 /* 000018FA */
  2441. 000018B8  4A28 0008                tst.b      [A0 + 0x8]
  2442. 000018BC  6E20                     bgt        +0x22 /* 000018DE */
  2443. 000018BE  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  2444. 000018C4  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2445. 000018C8  6B30                     bmi        +0x32 /* 000018FA */
  2446. 000018CA  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  2447. 000018D0  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  2448. 000018D4  6A24                     bpl        +0x26 /* 000018FA */
  2449. 000018D6  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  2450. 000018DC  601C                     bra        +0x1E /* 000018FA */
  2451. label000018DE:
  2452. 000018DE  4269 0002                clr.w      [A1 + 0x2]
  2453. 000018E2  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  2454. 000018E8  6E10                     bgt        +0x12 /* 000018FA */
  2455. 000018EA  6708                     beq        +0xA /* 000018F4 */
  2456. 000018EC  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  2457. 000018F2  6006                     bra        +0x8 /* 000018FA */
  2458. label000018F4:
  2459. 000018F4  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  2460. label000018FA:
  2461. 000018FA  4269 0004                clr.w      [A1 + 0x4]
  2462. 000018FE  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  2463. 00001904  6E0A                     bgt        +0xC /* 00001910 */
  2464. 00001906  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  2465. 0000190A  5240                     addq.w     D0, 1
  2466. 0000190C  1340 0007                move.b     [A1 + 0x7], D0
  2467. label00001910:
  2468. 00001910  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2469. 00001914  6B0E                     bmi        +0x10 /* 00001924 */
  2470. 00001916  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  2471. 0000191C  6706                     beq        +0x8 /* 00001924 */
  2472. 0000191E  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  2473. label00001924:
  2474. 00001924  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  2475. 0000192A  6206                     bhi        +0x8 /* 00001932 */
  2476. 0000192C  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  2477. label00001932:
  2478. 00001932  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  2479. 00001936  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00001893, value 0x303C00 '0<\0', cstring "" */]
  2480. 0000193A  323C 0004                move.w     D1, 0x4
  2481. label0000193E:
  2482. 0000193E  B020                     cmp.b      D0, -[A0]
  2483. 00001940  57C9 FFFC                dbeq       D1, -0x6 /* 0000193E */
  2484. 00001944  5241                     addq.w     D1, 1
  2485. 00001946  3341 000A                move.w     [A1 + 0xA], D1
  2486. 0000194A  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  2487. 0000194E  6B18                     bmi        +0x1A /* 00001968 */
  2488. 00001950  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2489. 00001954  0201 000F                andi.b     D1, 0xF
  2490. 00001958  0C01 0001                cmpi.b     D1, 0x1
  2491. 0000195C  660A                     bne        +0xC /* 00001968 */
  2492. 0000195E  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  2493. 00001962  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  2494. label00001968:
  2495. 00001968  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  2496. 0000196E  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  2497. 00001972  6D44                     blt        +0x46 /* 000019B8 */
  2498. 00001974  4269 000E                clr.w      [A1 + 0xE]
  2499. 00001978  323C 003C                move.w     D1, 0x3C /* '<' */
  2500. label0000197C:
  2501. 0000197C  4267                     clr.w      -[A7]
  2502. 0000197E  51C9 FFFC                dbf        D1, -0x6 /* 0000197C */
  2503. 00001982  204F                     movea.l    A0, A7
  2504. 00001984  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  2505. 0000198A  7008                     moveq.l    D0, 0x08
  2506. 0000198C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2507. 0000198E  6624                     bne        +0x26 /* 000019B4 */
  2508. 00001990  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  2509. 00001996  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2510. 00001998  661A                     bne        +0x1C /* 000019B4 */
  2511. 0000199A  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  2512. 000019A0  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  2513. 000019A8  7001                     moveq.l    D0, 0x01
  2514. 000019AA  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2515. 000019AC  6606                     bne        +0x8 /* 000019B4 */
  2516. 000019AE  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  2517. label000019B4:
  2518. 000019B4  DEFC 007A                add.w      A7, 0x7A /* 'z' */
  2519. label000019B8:
  2520. 000019B8  2049                     movea.l    A0, A1
  2521. 000019BA  225F                     movea.l    A1, [A7]+
  2522. 000019BC  5C4F                     addq.w     A7, 6
  2523. 000019BE  3EBC EA84                move.w     [A7], 0xEA84
  2524. 000019C2  4ED1                     jmp        [A1]
  2525. export_46:
  2526. 000019C4  7401                     moveq.l    D2, 0x01
  2527. label000019C6:
  2528. 000019C6  205F                     movea.l    A0, [A7]+
  2529. 000019C8  3F02                     move.w     -[A7], D2
  2530. 000019CA  2F08                     move.l     -[A7], A0
  2531. 000019CC  ADEA                     syscall    Pack3, auto_pop
  2532. export_47:
  2533. 000019CE  7402                     moveq.l    D2, 0x02
  2534. 000019D0  4EFA FFF4                jmp        [PC - 0xC /* 000019C6 */]
  2535. export_48:
  2536. 000019D4  206F 0008                movea.l    A0, [A7 + 0x8]
  2537. 000019D8  3F3C 0001                move.w     -[A7], 0x1
  2538. 000019DC  A9EE                     syscall    Pack7/DecStr68K
  2539. 000019DE  206F 0004                movea.l    A0, [A7 + 0x4]
  2540. 000019E2  2080                     move.l     [A0], D0
  2541. 000019E4  4EFA 000E                jmp        [PC + 0xE /* 000019F4 */]
  2542. export_49:
  2543. fn000019E8:
  2544. 000019E8  206F 0004                movea.l    A0, [A7 + 0x4]
  2545. 000019EC  202F 0008                move.l     D0, [A7 + 0x8]
  2546. 000019F0  4267                     clr.w      -[A7]
  2547. 000019F2  A9EE                     syscall    Pack7/DecStr68K
  2548. label000019F4:
  2549. 000019F4  205F                     movea.l    A0, [A7]+
  2550. 000019F6  504F                     addq.w     A7, 8
  2551. 000019F8  4ED0                     jmp        [A0]
  2552. export_50:
  2553. 000019FA  2F17                     move.l     -[A7], [A7]
  2554. 000019FC  2F7C 0400 0C00 0004      move.l     [A7 + 0x4], 0x4000C00
  2555. 00001A04  4EFA 0080                jmp        [PC + 0x80 /* 00001A86 */]
  2556. export_51:
  2557. 00001A08  2F17                     move.l     -[A7], [A7]
  2558. 00001A0A  2F7C 0800 0484 0004      move.l     [A7 + 0x4], 0x8000484
  2559. 00001A12  4EFA 0072                jmp        [PC + 0x72 /* 00001A86 */]
  2560. export_52:
  2561. 00001A16  2F17                     move.l     -[A7], [A7]
  2562. 00001A18  2F7C 1000 0808 0004      move.l     [A7 + 0x4], 0x10000808
  2563. 00001A20  4EFA 0064                jmp        [PC + 0x64 /* 00001A86 */]
  2564. export_53:
  2565. 00001A24  2F17                     move.l     -[A7], [A7]
  2566. 00001A26  2F7C 1800 040C 0004      move.l     [A7 + 0x4], 0x1800040C
  2567. 00001A2E  4EFA 0056                jmp        [PC + 0x56 /* 00001A86 */]
  2568. export_54:
  2569. 00001A32  2F17                     move.l     -[A7], [A7]
  2570. 00001A34  2F7C 2004 0480 0004      move.l     [A7 + 0x4], 0x20040480
  2571. 00001A3C  4EFA 0048                jmp        [PC + 0x48 /* 00001A86 */]
  2572. export_55:
  2573. 00001A40  2F17                     move.l     -[A7], [A7]
  2574. 00001A42  2F7C 5204 0498 0004      move.l     [A7 + 0x4], 0x52040498
  2575. 00001A4A  4EFA 003A                jmp        [PC + 0x3A /* 00001A86 */]
  2576. export_56:
  2577. 00001A4E  2F17                     move.l     -[A7], [A7]
  2578. 00001A50  2F7C 6005 1480 0004      move.l     [A7 + 0x4], 0x60051480
  2579. 00001A58  4EFA 002C                jmp        [PC + 0x2C /* 00001A86 */]
  2580. export_57:
  2581. fn00001A5C:
  2582. 00001A5C  2F17                     move.l     -[A7], [A7]
  2583. 00001A5E  2F7C BA00 0000 0004      move.l     [A7 + 0x4], 0xBA000000
  2584. 00001A66  4EFA 001E                jmp        [PC + 0x1E /* 00001A86 */]
  2585. export_58:
  2586. 00001A6A  2F17                     move.l     -[A7], [A7]
  2587. 00001A6C  2F7C C800 0000 0004      move.l     [A7 + 0x4], 0xC8000000
  2588. 00001A74  4EFA 0010                jmp        [PC + 0x10 /* 00001A86 */]
  2589. export_59:
  2590. 00001A78  2F17                     move.l     -[A7], [A7]
  2591. 00001A7A  2F7C D000 0000 0004      move.l     [A7 + 0x4], 0xD0000000
  2592. 00001A82  4EFA 0002                jmp        [PC + 0x2 /* 00001A86 */]
  2593. fn00001A86:
  2594. 00001A86  2F0B                     move.l     -[A7], A3
  2595. 00001A88  203C 0000 A89F           move.l     D0, 0xA89F
  2596. 00001A8E  A146                     syscall    GetTrapAddress, flags=1
  2597. 00001A90  2648                     movea.l    A3, A0
  2598. 00001A92  203C 0000 A8FD           move.l     D0, 0xA8FD
  2599. 00001A98  A146                     syscall    GetTrapAddress, flags=1
  2600. 00001A9A  B7C8                     cmpa.l     A3, A0
  2601. 00001A9C  6746                     beq        +0x48 /* 00001AE4 */
  2602. 00001A9E  265F                     movea.l    A3, [A7]+
  2603. 00001AA0  4E56 0000                link       A6, 0
  2604. 00001AA4  41EE 0008                lea.l      A0, [A6 + 0x8]
  2605. 00001AA8  7007                     moveq.l    D0, 0x07
  2606. 00001AAA  C02E 0008                and.b      D0, [A6 + 0x8]
  2607. 00001AAE  D02E 000A                add.b      D0, [A6 + 0xA]
  2608. 00001AB2  5800                     addq.b     D0, 4
  2609. 00001AB4  9EC0                     sub.w      A7, D0
  2610. 00001AB6  224F                     movea.l    A1, A7
  2611. 00001AB8  A02E                     syscall    BlockMove/BlockMoveData
  2612. 00001ABA  A8FD                     syscall    PrGlue
  2613. 00001ABC  7200                     moveq.l    D1, 0x00
  2614. 00001ABE  122E 000A                move.b     D1, [A6 + 0xA]
  2615. 00001AC2  7007                     moveq.l    D0, 0x07
  2616. 00001AC4  C02E 0008                and.b      D0, [A6 + 0x8]
  2617. 00001AC8  6710                     beq        +0x12 /* 00001ADA */
  2618. 00001ACA  204F                     movea.l    A0, A7
  2619. 00001ACC  43F6 100C                lea.l      A1, [A6 + D1.w + 0xC]
  2620. 00001AD0  E248                     lsr        D0.w, 1
  2621. 00001AD2  6002                     bra        +0x4 /* 00001AD6 */
  2622. label00001AD4:
  2623. 00001AD4  32DF                     move.w     [A1]+, [A7]+
  2624. label00001AD6:
  2625. 00001AD6  51C8 FFFC                dbf        D0, -0x6 /* 00001AD4 */
  2626. label00001ADA:
  2627. 00001ADA  4E5E                     unlink     A6
  2628. 00001ADC  205F                     movea.l    A0, [A7]+
  2629. 00001ADE  DFC1                     add.l      A7, D1
  2630. 00001AE0  584F                     addq.w     A7, 4
  2631. 00001AE2  4ED0                     jmp        [A0]
  2632. label00001AE4:
  2633. 00001AE4  265F                     movea.l    A3, [A7]+
  2634. 00001AE6  4E56 0000                link       A6, 0
  2635. 00001AEA  48E7 0018                movem.l    -[A7], A3,A4
  2636. 00001AEE  7200                     moveq.l    D1, 0x00
  2637. 00001AF0  122E 0008                move.b     D1, [A6 + 0x8]
  2638. 00001AF4  E609                     lsr        D1.b, 3
  2639. 00001AF6  6718                     beq        +0x1A /* 00001B10 */
  2640. 00001AF8  4A2E 0008                tst.b      [A6 + 0x8]
  2641. 00001AFC  6B00 00C2                bmi        +0xC4 /* 00001BC0 */
  2642. 00001B00  7400                     moveq.l    D2, 0x00
  2643. 00001B02  142E 0009                move.b     D2, [A6 + 0x9]
  2644. 00001B06  661E                     bne        +0x20 /* 00001B26 */
  2645. 00001B08  7403                     moveq.l    D2, 0x03
  2646. 00001B0A  C438 0946                and.b      D2, [0x00000946 /* ChooserBits */]
  2647. 00001B0E  6016                     bra        +0x18 /* 00001B26 */
  2648. label00001B10:
  2649. 00001B10  206E 0014                movea.l    A0, [A6 + 0x14]
  2650. 00001B14  2050                     movea.l    A0, [A0]
  2651. 00001B16  7403                     moveq.l    D2, 0x03
  2652. 00001B18  C428 0044                and.b      D2, [A0 + 0x44]
  2653. 00001B1C  0238 00FC 0946           andi.b     [0x00000946 /* ChooserBits */], 0xFC
  2654. 00001B22  8538 0946                or.b       [0x00000946 /* ChooserBits */], D2
  2655. label00001B26:
  2656. 00001B26  3678 0A5A                movea.w    A3, [0x00000A5A /* CurMap */]
  2657. 00001B2A  42A7                     clr.l      -[A7]
  2658. 00001B2C  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2659. 00001B32  3F02                     move.w     -[A7], D2
  2660. 00001B34  A9A0                     syscall    GetResource
  2661. 00001B36  201F                     move.l     D0, [A7]+
  2662. 00001B38  4A80                     tst.l      D0
  2663. 00001B3A  664A                     bne        +0x4C /* 00001B86 */
  2664. 00001B3C  0C78 FFFF 0952           cmpi.w     [0x00000952 /* PrRefNum */], 0xFFFF
  2665. 00001B42  670C                     beq        +0xE /* 00001B50 */
  2666. 00001B44  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2667. 00001B48  A998                     syscall    UseResFile
  2668. 00001B4A  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2669. 00001B4E  6716                     beq        +0x18 /* 00001B66 */
  2670. label00001B50:
  2671. 00001B50  6100 01D0                bsr        +0x1D2 /* 00001D22 */
  2672. 00001B54  4A40                     tst.w      D0
  2673. 00001B56  6708                     beq        +0xA /* 00001B60 */
  2674. 00001B58  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2675. 00001B5C  6000 00B0                bra        +0xB2 /* 00001C0E */
  2676. label00001B60:
  2677. 00001B60  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2678. 00001B64  A998                     syscall    UseResFile
  2679. label00001B66:
  2680. 00001B66  42A7                     clr.l      -[A7]
  2681. 00001B68  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2682. 00001B6E  3F02                     move.w     -[A7], D2
  2683. 00001B70  A9A0                     syscall    GetResource
  2684. 00001B72  201F                     move.l     D0, [A7]+
  2685. 00001B74  4A80                     tst.l      D0
  2686. 00001B76  660E                     bne        +0x10 /* 00001B86 */
  2687. 00001B78  3F0B                     move.w     -[A7], A3
  2688. 00001B7A  A998                     syscall    UseResFile
  2689. 00001B7C  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  2690. 00001B82  6000 008A                bra        +0x8C /* 00001C0E */
  2691. label00001B86:
  2692. 00001B86  2840                     movea.l    A4, D0
  2693. 00001B88  204C                     movea.l    A0, A4
  2694. 00001B8A  A029                     syscall    HLock
  2695. 00001B8C  3F0B                     move.w     -[A7], A3
  2696. 00001B8E  A998                     syscall    UseResFile
  2697. 00001B90  41EE 000C                lea.l      A0, [A6 + 0xC]
  2698. 00001B94  7007                     moveq.l    D0, 0x07
  2699. 00001B96  C02E 0008                and.b      D0, [A6 + 0x8]
  2700. 00001B9A  D02E 000A                add.b      D0, [A6 + 0xA]
  2701. 00001B9E  9EC0                     sub.w      A7, D0
  2702. 00001BA0  224F                     movea.l    A1, A7
  2703. 00001BA2  A02E                     syscall    BlockMove/BlockMoveData
  2704. 00001BA4  102E 000B                move.b     D0, [A6 + 0xB]
  2705. 00001BA8  0200 007F                andi.b     D0, 0x7F
  2706. 00001BAC  2054                     movea.l    A0, [A4]
  2707. 00001BAE  4EB0 0000                jsr        [A0 + D0.w]
  2708. 00001BB2  102E 000B                move.b     D0, [A6 + 0xB]
  2709. 00001BB6  6A04                     bpl        +0x6 /* 00001BBC */
  2710. 00001BB8  204C                     movea.l    A0, A4
  2711. 00001BBA  A02A                     syscall    HUnlock
  2712. label00001BBC:
  2713. 00001BBC  6000 011A                bra        +0x11C /* 00001CD8 */
  2714. label00001BC0:
  2715. 00001BC0  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  2716. 00001BC4  41FA 0194                lea.l      A0, [PC + 0x194 /* 00001D5A, value 0x62E5072, pstring ".Print" */]
  2717. 00001BC8  2F48 0012                move.l     [A7 + 0x12], A0
  2718. 00001BCC  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  2719. 00001BD2  422F 001B                clr.b      [A7 + 0x1B]
  2720. 00001BD6  204F                     movea.l    A0, A7
  2721. 00001BD8  7000                     moveq.l    D0, 0x00
  2722. 00001BDA  0881 0004                bclr.b     D1, 0x4
  2723. 00001BDE  D241                     add.w      D1, D1
  2724. 00001BE0  323B 1006                move.w     D1, [PC + D1.w + 0x6]
  2725. 00001BE4  4EFB 1002                jmp        [PC + D1.w + 0x2]
  2726. 00001BE8  0068 006C 0070           ori.w      [A0 + 0x70], 0x6C /* 'l' */
  2727. 00001BEE  007A 008C 00A8           ori.w      [PC + 0xA8 /* 00001C98, value 0x5, cstring "" */], 0x8C
  2728. 00001BF4  00BA 00DA 00E4 0030      ori.l      [PC + 0x30 /* 00001C26, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
  2729. 00001BFC  0044 0020                ori.w      D4, 0x20 /* ' ' */
  2730. 00001C00  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2731. 00001C04  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2732. 00001C08  31FC FFCE 0944           move.w     [0x00000944 /* PrintErr */], 0xFFCE
  2733. label00001C0E:
  2734. 00001C0E  7200                     moveq.l    D1, 0x00
  2735. 00001C10  122E 000A                move.b     D1, [A6 + 0xA]
  2736. 00001C14  6000 00E0                bra        +0xE2 /* 00001CF6 */
  2737. 00001C18  2F3C 8000 0000           move.l     -[A7], 0x80000000
  2738. 00001C1E  4EBA FE66                jsr        [PC - 0x19A /* 00001A86 */]
  2739. 00001C22  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  2740. 00001C26  6624                     bne        +0x26 /* 00001C4C */
  2741. 00001C28  7200                     moveq.l    D1, 0x00
  2742. 00001C2A  6002                     bra        +0x4 /* 00001C2E */
  2743. 00001C2C  7201                     moveq.l    D1, 0x01
  2744. label00001C2E:
  2745. 00001C2E  6100 00F2                bsr        +0xF4 /* 00001D22 */
  2746. 00001C32  4A40                     tst.w      D0
  2747. 00001C34  6616                     bne        +0x18 /* 00001C4C */
  2748. 00001C36  3038 0952                move.w     D0, [0x00000952 /* PrRefNum */]
  2749. 00001C3A  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2750. 00001C3E  6608                     bne        +0xA /* 00001C48 */
  2751. 00001C40  4A41                     tst.w      D1
  2752. 00001C42  6704                     beq        +0x6 /* 00001C48 */
  2753. 00001C44  3F00                     move.w     -[A7], D0
  2754. 00001C46  A99A                     syscall    CloseResFile
  2755. label00001C48:
  2756. 00001C48  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2757. label00001C4C:
  2758. 00001C4C  6000 0082                bra        +0x84 /* 00001CD0 */
  2759. 00001C50  A000                     syscall    Open/PBHOpen/HOpen
  2760. 00001C52  607C                     bra        +0x7E /* 00001CD0 */
  2761. 00001C54  A001                     syscall    Close
  2762. 00001C56  6078                     bra        +0x7A /* 00001CD0 */
  2763. 00001C58  615A                     bsr        +0x5C /* 00001CB4 */
  2764. 00001C5A  DEFC 002E                add.w      A7, 0x2E /* '.' */
  2765. 00001C5E  2E88                     move.l     [A7], A0
  2766. 00001C60  6076                     bra        +0x78 /* 00001CD8 */
  2767. 00001C62  6150                     bsr        +0x52 /* 00001CB4 */
  2768. 00001C64  2050                     movea.l    A0, [A0]
  2769. 00001C66  7000                     moveq.l    D0, 0x00
  2770. 00001C68  1028 0007                move.b     D0, [A0 + 0x7]
  2771. 00001C6C  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2772. 00001C70  3E80                     move.w     [A7], D0
  2773. 00001C72  6064                     bra        +0x66 /* 00001CD8 */
  2774. 00001C74  216E 000C 0024           move.l     [A0 + 0x24], [A6 + 0xC]
  2775. 00001C7A  216E 0010 0020           move.l     [A0 + 0x20], [A6 + 0x10]
  2776. 00001C80  216E 0014 001C           move.l     [A0 + 0x1C], [A6 + 0x14]
  2777. 00001C86  316E 0018 001A           move.w     [A0 + 0x1A], [A6 + 0x18]
  2778. 00001C8C  A004                     syscall    Control
  2779. 00001C8E  6040                     bra        +0x42 /* 00001CD0 */
  2780. 00001C90  6122                     bsr        +0x24 /* 00001CB4 */
  2781. 00001C92  2050                     movea.l    A0, [A0]
  2782. 00001C94  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2783. 00001C9A  6734                     beq        +0x36 /* 00001CD0 */
  2784. 00001C9C  2050                     movea.l    A0, [A0]
  2785. 00001C9E  A049                     syscall    HPurge
  2786. 00001CA0  602E                     bra        +0x30 /* 00001CD0 */
  2787. 00001CA2  6110                     bsr        +0x12 /* 00001CB4 */
  2788. 00001CA4  2050                     movea.l    A0, [A0]
  2789. 00001CA6  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2790. 00001CAC  6722                     beq        +0x24 /* 00001CD0 */
  2791. 00001CAE  2050                     movea.l    A0, [A0]
  2792. 00001CB0  A04A                     syscall    HNoPurge
  2793. 00001CB2  601C                     bra        +0x1E /* 00001CD0 */
  2794. fn00001CB4:
  2795. 00001CB4  317C 0001 001A           move.w     [A0 + 0x1A], 0x1
  2796. 00001CBA  A005                     syscall    Status
  2797. 00001CBC  2068 001C                movea.l    A0, [A0 + 0x1C]
  2798. 00001CC0  4E75                     rts
  2799. 00001CC2  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2800. 00001CC6  3EB8 0944                move.w     [A7], [0x00000944 /* PrintErr */]
  2801. 00001CCA  600C                     bra        +0xE /* 00001CD8 */
  2802. 00001CCC  302E 000C                move.w     D0, [A6 + 0xC]
  2803. label00001CD0:
  2804. 00001CD0  DEFC 0032                add.w      A7, 0x32 /* '2' */
  2805. 00001CD4  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2806. label00001CD8:
  2807. 00001CD8  7200                     moveq.l    D1, 0x00
  2808. 00001CDA  122E 000A                move.b     D1, [A6 + 0xA]
  2809. 00001CDE  7007                     moveq.l    D0, 0x07
  2810. 00001CE0  C02E 0008                and.b      D0, [A6 + 0x8]
  2811. 00001CE4  6710                     beq        +0x12 /* 00001CF6 */
  2812. 00001CE6  204F                     movea.l    A0, A7
  2813. 00001CE8  43F6 100C                lea.l      A1, [A6 + D1.w + 0xC]
  2814. 00001CEC  E248                     lsr        D0.w, 1
  2815. 00001CEE  6002                     bra        +0x4 /* 00001CF2 */
  2816. label00001CF0:
  2817. 00001CF0  32DF                     move.w     [A1]+, [A7]+
  2818. label00001CF2:
  2819. 00001CF2  51C8 FFFC                dbf        D0, -0x6 /* 00001CF0 */
  2820. label00001CF6:
  2821. 00001CF6  4CDF 1800                movem.l    A3,A4, [A7]+
  2822. 00001CFA  4E5E                     unlink     A6
  2823. 00001CFC  205F                     movea.l    A0, [A7]+
  2824. 00001CFE  DFC1                     add.l      A7, D1
  2825. 00001D00  584F                     addq.w     A7, 4
  2826. 00001D02  4ED0                     jmp        [A0]
  2827. fn00001D04:
  2828. 00001D04  7000                     moveq.l    D0, 0x00
  2829. fn00001D06:
  2830. 00001D06  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  2831. 00001D0A  204F                     movea.l    A0, A7
  2832. 00001D0C  3140 0016                move.w     [A0 + 0x16], D0
  2833. 00001D10  42A8 0012                clr.l      [A0 + 0x12]
  2834. 00001D14  A015                     syscall    SetVol/PBHSetVol/HSetVol
  2835. 00001D16  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2836. 00001D18  3028 0016                move.w     D0, [A0 + 0x16]
  2837. 00001D1C  DEFC 0040                add.w      A7, 0x40 /* '@' */
  2838. 00001D20  4E75                     rts
  2839. fn00001D22:
  2840. 00001D22  594F                     subq.w     A7, 4
  2841. 00001D24  3F3C E000                move.w     -[A7], 0xE000
  2842. 00001D28  A9BA                     syscall    GetString
  2843. 00001D2A  201F                     move.l     D0, [A7]+
  2844. 00001D2C  6606                     bne        +0x8 /* 00001D34 */
  2845. 00001D2E  303C FF40                move.w     D0, 0xFF40
  2846. 00001D32  6024                     bra        +0x26 /* 00001D58 */
  2847. label00001D34:
  2848. 00001D34  2240                     movea.l    A1, D0
  2849. 00001D36  61CC                     bsr        -0x32 /* 00001D04 */
  2850. 00001D38  4841                     swap.w     D1
  2851. 00001D3A  3200                     move.w     D1, D0
  2852. 00001D3C  554F                     subq.w     A7, 2
  2853. 00001D3E  2049                     movea.l    A0, A1
  2854. 00001D40  A029                     syscall    HLock
  2855. 00001D42  2F11                     move.l     -[A7], [A1]
  2856. 00001D44  A997                     syscall    OpenResFile
  2857. 00001D46  31DF 0952                move.w     [0x00000952 /* PrRefNum */], [A7]+
  2858. 00001D4A  2049                     movea.l    A0, A1
  2859. 00001D4C  A02A                     syscall    HUnlock
  2860. 00001D4E  3001                     move.w     D0, D1
  2861. 00001D50  4841                     swap.w     D1
  2862. 00001D52  61B2                     bsr        -0x4C /* 00001D06 */
  2863. 00001D54  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2864. label00001D58:
  2865. 00001D58  4E75                     rts
  2866. 00001D5A  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  2867. 00001D60  7420                     moveq.l    D2, 0x20
  2868. export_60:
  2869. 00001D62  4E56 FDEC                link       A6, -0x0214
  2870. 00001D66  2F07                     move.l     -[A7], D7
  2871. 00001D68  422E 0008                clr.b      [A6 + 0x8]
  2872. 00001D6C  554F                     subq.w     A7, 2
  2873. 00001D6E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2874. 00001D72  3E1F                     move.w     D7, [A7]+
  2875. 00001D74  4A47                     tst.w      D7
  2876. 00001D76  6700 0084                beq        +0x86 /* 00001DFC */
  2877. 00001D7A  3007                     move.w     D0, D7
  2878. 00001D7C  48C0                     ext.l      D0
  2879. 00001D7E  2F00                     move.l     -[A7], D0
  2880. 00001D80  486E FEF0                pea.l      [A6 - 0x110]
  2881. 00001D84  4EBA FC62                jsr        [PC - 0x39E /* 000019E8 */]
  2882. 00001D88  4A2D FC95                tst.b      [A5 - 0x36B]
  2883. 00001D8C  6732                     beq        +0x34 /* 00001DC0 */
  2884. 00001D8E  486E FDEC                pea.l      [A6 - 0x214]
  2885. 00001D92  487A 00CC                pea.l      [PC + 0xCC /* 00001E60, value 0xD4D656D '\rMem', pstring "Memory Error " */]
  2886. 00001D96  486E FEF0                pea.l      [A6 - 0x110]
  2887. 00001D9A  487A 00C2                pea.l      [PC + 0xC2 /* 00001E5E, value 0x10D0D4D */]
  2888. 00001D9E  487A 007C                pea.l      [PC + 0x7C /* 00001E1C, value 0x41526564 'ARed', pstring "Reduce the number of Colors on your Monitor in the Control Panel." */]
  2889. 00001DA2  3F3C 0004                move.w     -[A7], 0x4
  2890. 00001DA6  4EBA E258                jsr        [PC - 0x1DA8 /* 00000000 */]
  2891. 00001DAA  584F                     addq.w     A7, 4
  2892. 00001DAC  486E FDEC                pea.l      [A6 - 0x214]
  2893. 00001DB0  487A 0068                pea.l      [PC + 0x68 /* 00001E1A, value 0x124152, cstring "" */]
  2894. 00001DB4  487A 0062                pea.l      [PC + 0x62 /* 00001E18, value 0x120012, cstring "" */]
  2895. 00001DB8  487A 005C                pea.l      [PC + 0x5C /* 00001E16, value 0x160012, cstring "" */]
  2896. 00001DBC  A98B                     syscall    ParamText
  2897. 00001DBE  6028                     bra        +0x2A /* 00001DE8 */
  2898. label00001DC0:
  2899. 00001DC0  486E FDEC                pea.l      [A6 - 0x214]
  2900. 00001DC4  487A 0042                pea.l      [PC + 0x42 /* 00001E08, value 0xD4D656D '\rMem', pstring "Memory Error " */]
  2901. 00001DC8  486E FEF0                pea.l      [A6 - 0x110]
  2902. 00001DCC  3F3C 0002                move.w     -[A7], 0x2
  2903. 00001DD0  4EBA E22E                jsr        [PC - 0x1DD2 /* 00000000 */]
  2904. 00001DD4  584F                     addq.w     A7, 4
  2905. 00001DD6  486E FDEC                pea.l      [A6 - 0x214]
  2906. 00001DDA  487A 002A                pea.l      [PC + 0x2A /* 00001E06, value 0x120D4D, cstring "" */]
  2907. 00001DDE  487A 0024                pea.l      [PC + 0x24 /* 00001E04, value 0x120012, cstring "" */]
  2908. 00001DE2  487A 001E                pea.l      [PC + 0x1E /* 00001E02, value 0x160012, cstring "" */]
  2909. 00001DE6  A98B                     syscall    ParamText
  2910. label00001DE8:
  2911. 00001DE8  554F                     subq.w     A7, 2
  2912. 00001DEA  3F3C 05DE                move.w     -[A7], 0x5DE
  2913. 00001DEE  42A7                     clr.l      -[A7]
  2914. 00001DF0  A986                     syscall    StopAlert
  2915. 00001DF2  3D5F FEEE                move.w     [A6 - 0x112], [A7]+
  2916. 00001DF6  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  2917. label00001DFC:
  2918. 00001DFC  2E1F                     move.l     D7, [A7]+
  2919. 00001DFE  4E5E                     unlink     A6
  2920. 00001E00  4E75                     rts
  2921. 00001E02  0016 0012                ori.b      [A6], 0x12
  2922. 00001E06  0012 0D4D                ori.b      [A2], 0x4D /* 'M' */
  2923. 00001E0A  656D                     bcs        +0x6F /* 00001E79 */
  2924. 00001E0C  6F72                     ble        +0x74 /* 00001E80 */
  2925. 00001E0E  7920                     moveq.l    D4, 0x20
  2926. 00001E10  4572 726F                chk.w      D2, [A2 + D7.w * 2 + 0x6F]
  2927. 00001E14  7220                     moveq.l    D1, 0x20
  2928. 00001E16  0016 0012                ori.b      [A6], 0x12
  2929. 00001E1A  0012 4152                ori.b      [A2], 0x52 /* 'R' */
  2930. 00001E1E  6564                     bcs        +0x66 /* 00001E84 */
  2931. 00001E20  7563                     moveq.l    D2, 0x63
  2932. 00001E22  6520                     bcs        +0x22 /* 00001E44 */
  2933. 00001E24  7468                     moveq.l    D2, 0x68
  2934. 00001E26  6520                     bcs        +0x22 /* 00001E48 */
  2935. 00001E28  6E75                     bgt        +0x77 /* 00001E9F */
  2936. 00001E2A  6D62                     blt        +0x64 /* 00001E8E */
  2937. 00001E2C  6572                     bcs        +0x74 /* 00001EA0 */
  2938. 00001E2E  206F 6620                movea.l    A0, [A7 + 0x6620]
  2939. 00001E32  436F 6C6F                chk.w      D1, [A7 + 0x6C6F]
  2940. 00001E36  7273                     moveq.l    D1, 0x73
  2941. 00001E38  206F 6E20                movea.l    A0, [A7 + 0x6E20]
  2942. 00001E3C  796F                     moveq.l    D4, 0x6F
  2943. 00001E3E  7572                     moveq.l    D2, 0x72
  2944. 00001E40  204D                     movea.l    A0, A5
  2945. 00001E42  6F6E                     ble        +0x70 /* 00001EB2 */
  2946. label00001E44:
  2947. 00001E44  6974                     bvs        +0x76 /* 00001EBA */
  2948. 00001E46  6F72                     ble        +0x74 /* 00001EBA */
  2949. label00001E48:
  2950. 00001E48  2069 6E20                movea.l    A0, [A1 + 0x6E20]
  2951. 00001E4C  7468                     moveq.l    D2, 0x68
  2952. 00001E4E  6520                     bcs        +0x22 /* 00001E70 */
  2953. 00001E50  436F 6E74                chk.w      D1, [A7 + 0x6E74]
  2954. 00001E54  726F                     moveq.l    D1, 0x6F
  2955. 00001E56  6C20                     bge        +0x22 /* 00001E78 */
  2956. 00001E58  5061                     addq.w     -[A1], 8
  2957. 00001E5A  6E65                     bgt        +0x67 /* 00001EC1 */
  2958. 00001E5C  6C2E                     bge        +0x30 /* 00001E8C */
  2959. 00001E5E  010D                     btst       A5, D0
  2960. 00001E60  0D4D                     bchg       A5, D6
  2961. 00001E62  656D                     bcs        +0x6F /* 00001ED1 */
  2962. 00001E64  6F72                     ble        +0x74 /* 00001ED8 */
  2963. 00001E66  7920                     moveq.l    D4, 0x20
  2964. 00001E68  4572 726F                chk.w      D2, [A2 + D7.w * 2 + 0x6F]
  2965. 00001E6C  7220                     moveq.l    D1, 0x20
  2966. export_61:
  2967. 00001E6E  4E56 0000                link       A6, 0
  2968. // begin alternate branch 00001E70-00001E78
  2969. label00001E70:
  2970. 00001E70  0000 302E                ori.b      D0, 0x2E /* '.' */
  2971. 00001E74  0008 48C0                ori.b      A0, 0xC0
  2972. // end alternate branch 00001E70-00001E78
  2973. label00001E70: // (misaligned)
  2974. 00001E72  302E 0008                move.w     D0, [A6 + 0x8]
  2975. 00001E76  48C0                     ext.l      D0
  2976. label00001E78:
  2977. 00001E78  0280 0000 FF00           andi.l     D0, 0xFF00
  2978. 00001E7E  6000 00F0                bra        +0xF2 /* 00001F70 */
  2979. // begin alternate branch 00001E80-00001E82
  2980. label00001E80:
  2981. 00001E80  00F0                     .incomplete
  2982. // end alternate branch 00001E80-00001E82
  2983. label00001E80: // (misaligned)
  2984. label00001E82:
  2985. 00001E82  206E 000A                movea.l    A0, [A6 + 0xA]
  2986. // begin alternate branch 00001E84-00001E8C
  2987. label00001E84:
  2988. 00001E84  000A 43FA                ori.b      A2, 0xFA
  2989. 00001E88  021E 20D9                andi.b     [A6]+, 0xD9
  2990. // end alternate branch 00001E84-00001E8C
  2991. label00001E84: // (misaligned)
  2992. 00001E86  43FA 021E                lea.l      A1, [PC + 0x21E /* 000020A6, value 0x5536869, pstring "Shift" */]
  2993. 00001E8A  20D9                     move.l     [A0]+, [A1]+
  2994. label00001E8C:
  2995. 00001E8C  20D9                     move.l     [A0]+, [A1]+
  2996. label00001E8E:
  2997. 00001E8E  6000 01B6                bra        +0x1B8 /* 00002046 */
  2998. label00001E92:
  2999. 00001E92  206E 000A                movea.l    A0, [A6 + 0xA]
  3000. 00001E96  43FA 0206                lea.l      A1, [PC + 0x206 /* 0000209E, value 0x6526574, pstring "Return" */]
  3001. 00001E9A  20D9                     move.l     [A0]+, [A1]+
  3002. 00001E9C  20D9                     move.l     [A0]+, [A1]+
  3003. 00001E9E  6000 01A6                bra        +0x1A8 /* 00002046 */
  3004. // begin alternate branch 00001EA0-00001EA2
  3005. label00001EA0:
  3006. 00001EA0  01A6                     bclr       -[A6], D0
  3007. // end alternate branch 00001EA0-00001EA2
  3008. label00001EA0: // (misaligned)
  3009. label00001EA2:
  3010. 00001EA2  206E 000A                movea.l    A0, [A6 + 0xA]
  3011. 00001EA6  20BC 0354 6162           move.l     [A0], 0x3546162
  3012. 00001EAC  6000 0198                bra        +0x19A /* 00002046 */
  3013. label00001EB0:
  3014. 00001EB0  206E 000A                movea.l    A0, [A6 + 0xA]
  3015. // begin alternate branch 00001EB2-00001EB8
  3016. label00001EB2:
  3017. 00001EB2  000A 43FA                ori.b      A2, 0xFA
  3018. 00001EB6  01E2                     .incomplete
  3019. // end alternate branch 00001EB2-00001EB8
  3020. label00001EB2: // (misaligned)
  3021. 00001EB4  43FA 01E2                lea.l      A1, [PC + 0x1E2 /* 00002098, value 0x5537061, pstring "Space" */]
  3022. 00001EB8  20D9                     move.l     [A0]+, [A1]+
  3023. label00001EBA:
  3024. 00001EBA  20D9                     move.l     [A0]+, [A1]+
  3025. 00001EBC  6000 0188                bra        +0x18A /* 00002046 */
  3026. label00001EC0:
  3027. 00001EC0  206E 000A                movea.l    A0, [A6 + 0xA]
  3028. 00001EC4  43FA 01CC                lea.l      A1, [PC + 0x1CC /* 00002092, value 0x5436C65, pstring "Clear" */]
  3029. 00001EC8  20D9                     move.l     [A0]+, [A1]+
  3030. 00001ECA  20D9                     move.l     [A0]+, [A1]+
  3031. 00001ECC  6000 0178                bra        +0x17A /* 00002046 */
  3032. label00001ED0:
  3033. 00001ED0  206E 000A                movea.l    A0, [A6 + 0xA]
  3034. 00001ED4  43FA 01B6                lea.l      A1, [PC + 0x1B6 /* 0000208C, value 0x5456E74, pstring "Enter" */]
  3035. label00001ED8:
  3036. 00001ED8  20D9                     move.l     [A0]+, [A1]+
  3037. 00001EDA  20D9                     move.l     [A0]+, [A1]+
  3038. 00001EDC  6000 0168                bra        +0x16A /* 00002046 */
  3039. label00001EE0:
  3040. 00001EE0  206E 000A                movea.l    A0, [A6 + 0xA]
  3041. 00001EE4  43FA 019E                lea.l      A1, [PC + 0x19E /* 00002084, value 0x64F7074, pstring "Option" */]
  3042. 00001EE8  20D9                     move.l     [A0]+, [A1]+
  3043. 00001EEA  20D9                     move.l     [A0]+, [A1]+
  3044. 00001EEC  6000 0158                bra        +0x15A /* 00002046 */
  3045. label00001EF0:
  3046. 00001EF0  206E 000A                movea.l    A0, [A6 + 0xA]
  3047. 00001EF4  43FA 0186                lea.l      A1, [PC + 0x186 /* 0000207C, value 0x7427370, pstring "Bsp/Del" */]
  3048. 00001EF8  20D9                     move.l     [A0]+, [A1]+
  3049. 00001EFA  20D9                     move.l     [A0]+, [A1]+
  3050. 00001EFC  6000 0148                bra        +0x14A /* 00002046 */
  3051. label00001F00:
  3052. 00001F00  206E 000A                movea.l    A0, [A6 + 0xA]
  3053. 00001F04  43FA 016E                lea.l      A1, [PC + 0x16E /* 00002074, value 0x7557020, pstring "Up Arr." */]
  3054. 00001F08  20D9                     move.l     [A0]+, [A1]+
  3055. 00001F0A  20D9                     move.l     [A0]+, [A1]+
  3056. 00001F0C  6000 0138                bra        +0x13A /* 00002046 */
  3057. label00001F10:
  3058. 00001F10  206E 000A                movea.l    A0, [A6 + 0xA]
  3059. 00001F14  43FA 0154                lea.l      A1, [PC + 0x154 /* 0000206A, value 0x8446E2E, pstring "Dn. Arr." */]
  3060. 00001F18  20D9                     move.l     [A0]+, [A1]+
  3061. 00001F1A  20D9                     move.l     [A0]+, [A1]+
  3062. 00001F1C  20D9                     move.l     [A0]+, [A1]+
  3063. 00001F1E  6000 0126                bra        +0x128 /* 00002046 */
  3064. label00001F22:
  3065. 00001F22  206E 000A                movea.l    A0, [A6 + 0xA]
  3066. 00001F26  43FA 0138                lea.l      A1, [PC + 0x138 /* 00002060, value 0x84C662E, pstring "Lf. Arr." */]
  3067. 00001F2A  20D9                     move.l     [A0]+, [A1]+
  3068. 00001F2C  20D9                     move.l     [A0]+, [A1]+
  3069. 00001F2E  20D9                     move.l     [A0]+, [A1]+
  3070. 00001F30  6000 0114                bra        +0x116 /* 00002046 */
  3071. label00001F34:
  3072. 00001F34  206E 000A                movea.l    A0, [A6 + 0xA]
  3073. 00001F38  43FA 011C                lea.l      A1, [PC + 0x11C /* 00002056, value 0x852742E, pstring "Rt. Arr." */]
  3074. 00001F3C  20D9                     move.l     [A0]+, [A1]+
  3075. 00001F3E  20D9                     move.l     [A0]+, [A1]+
  3076. 00001F40  20D9                     move.l     [A0]+, [A1]+
  3077. 00001F42  6000 0102                bra        +0x104 /* 00002046 */
  3078. label00001F46:
  3079. 00001F46  206E 000A                movea.l    A0, [A6 + 0xA]
  3080. 00001F4A  30BC 0160                move.w     [A0], 0x160
  3081. 00001F4E  6000 00F6                bra        +0xF8 /* 00002046 */
  3082. label00001F52:
  3083. 00001F52  206E 000A                movea.l    A0, [A6 + 0xA]
  3084. 00001F56  20BC 0345 7363           move.l     [A0], 0x3457363
  3085. 00001F5C  6000 00E8                bra        +0xEA /* 00002046 */
  3086. label00001F60:
  3087. 00001F60  206E 000A                movea.l    A0, [A6 + 0xA]
  3088. 00001F64  43FA 00E8                lea.l      A1, [PC + 0xE8 /* 0000204E, value 0x7436F6E, pstring "Control" */]
  3089. 00001F68  20D9                     move.l     [A0]+, [A1]+
  3090. 00001F6A  20D9                     move.l     [A0]+, [A1]+
  3091. 00001F6C  6000 00D8                bra        +0xDA /* 00002046 */
  3092. label00001F70:
  3093. 00001F70  0680 FFFF DC00           addi.l     D0, 0xFFFFDC00
  3094. 00001F76  6700 FF1A                beq        -0xE4 /* 00001E92 */
  3095. 00001F7A  0680 FFFF F400           addi.l     D0, 0xFFFFF400
  3096. 00001F80  6700 FF20                beq        -0xDE /* 00001EA2 */
  3097. 00001F84  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3098. 00001F8A  6700 FF24                beq        -0xDA /* 00001EB0 */
  3099. 00001F8E  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3100. 00001F94  67B0                     beq        -0x4E /* 00001F46 */
  3101. 00001F96  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3102. 00001F9C  6700 FF52                beq        -0xAC /* 00001EF0 */
  3103. 00001FA0  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3104. 00001FA6  6700 FF28                beq        -0xD6 /* 00001ED0 */
  3105. 00001FAA  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3106. 00001FB0  67A0                     beq        -0x5E /* 00001F52 */
  3107. 00001FB2  0680 FFFF FD00           addi.l     D0, 0xFFFFFD00
  3108. 00001FB8  6700 FEC8                beq        -0x136 /* 00001E82 */
  3109. 00001FBC  0680 FFFF FE00           addi.l     D0, 0xFFFFFE00
  3110. 00001FC2  6700 FF1C                beq        -0xE2 /* 00001EE0 */
  3111. 00001FC6  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3112. 00001FCC  6792                     beq        -0x6C /* 00001F60 */
  3113. 00001FCE  0680 FFFF F900           addi.l     D0, 0xFFFFF900
  3114. 00001FD4  6700 FF5E                beq        -0xA0 /* 00001F34 */
  3115. 00001FD8  0680 FFFF FC00           addi.l     D0, 0xFFFFFC00
  3116. 00001FDE  6700 FF42                beq        -0xBC /* 00001F22 */
  3117. 00001FE2  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3118. 00001FE8  6700 FED6                beq        -0x128 /* 00001EC0 */
  3119. 00001FEC  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3120. 00001FF2  6700 FF1C                beq        -0xE2 /* 00001F10 */
  3121. 00001FF6  0680 FFFF FC00           addi.l     D0, 0xFFFFFC00
  3122. 00001FFC  6700 FED2                beq        -0x12C /* 00001ED0 */
  3123. 00002000  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3124. 00002006  6700 FEF8                beq        -0x106 /* 00001F00 */
  3125. 0000200A  0680 FFFF D200           addi.l     D0, 0xFFFFD200
  3126. 00002010  6700 FF10                beq        -0xEE /* 00001F22 */
  3127. 00002014  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3128. 0000201A  6700 FF18                beq        -0xE6 /* 00001F34 */
  3129. 0000201E  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3130. label00002024:
  3131. 00002024  6700 FEEA                beq        -0x114 /* 00001F10 */
  3132. 00002028  0680 FFFF FF00           addi.l     D0, 0xFFFFFF00
  3133. 0000202E  6700 FED0                beq        -0x12E /* 00001F00 */
  3134. 00002032  302E 0008                move.w     D0, [A6 + 0x8]
  3135. 00002036  0240 00FF                andi.w     D0, 0xFF
  3136. 0000203A  206E 000A                movea.l    A0, [A6 + 0xA]
  3137. label0000203E:
  3138. 0000203E  323C 0100                move.w     D1, 0x100
  3139. 00002042  1200                     move.b     D1, D0
  3140. 00002044  3081                     move.w     [A0], D1
  3141. label00002046:
  3142. 00002046  4E5E                     unlink     A6
  3143. 00002048  205F                     movea.l    A0, [A7]+
  3144. 0000204A  544F                     addq.w     A7, 2
  3145. 0000204C  4ED0                     jmp        [A0]
  3146. 0000204E  0743                     bchg       D3, D3
  3147. 00002050  6F6E                     ble        +0x70 /* 000020C0 */
  3148. 00002052  7472                     moveq.l    D2, 0x72
  3149. 00002054  6F6C                     ble        +0x6E /* 000020C2 */
  3150. 00002056  0852 742E                bchg.b     [A2], 0x2E /* '.' */
  3151. 0000205A  2041                     movea.l    A0, D1
  3152. 0000205C  7272                     moveq.l    D1, 0x72
  3153. 0000205E  2E98                     move.l     [A7], [A0]+
  3154. 00002060  084C 662E                bchg.b     A4, 0x2E /* '.' */
  3155. 00002064  2041                     movea.l    A0, D1
  3156. 00002066  7272                     moveq.l    D1, 0x72
  3157. 00002068  2E98                     move.l     [A7], [A0]+
  3158. 0000206A  0844 6E2E                bchg.b     D4, 0x2E /* '.' */
  3159. 0000206E  2041                     movea.l    A0, D1
  3160. 00002070  7272                     moveq.l    D1, 0x72
  3161. 00002072  2E98                     move.l     [A7], [A0]+
  3162. 00002074  0755                     bchg       [A5], D3
  3163. 00002076  7020                     moveq.l    D0, 0x20
  3164. 00002078  4172 722E                chk.w      D0, [A2 + D7.w * 2 + 0x2E]
  3165. 0000207C  0742                     bchg       D2, D3
  3166. 0000207E  7370                     moveq.l    D1, 0x70
  3167. 00002080  2F44 656C                move.l     [A7 + 0x656C], D4
  3168. 00002084  064F 7074                addi.w     A7, 0x7074 /* 'pt' */
  3169. 00002088  696F                     bvs        +0x71 /* 000020F9 */
  3170. 0000208A  6E98                     bgt        -0x66 /* 00002024 */
  3171. 0000208C  0545                     bchg       D5, D2
  3172. 0000208E  6E74                     bgt        +0x76 /* 00002104 */
  3173. 00002090  6572                     bcs        +0x74 /* 00002104 */
  3174. 00002092  0543                     bchg       D3, D2
  3175. 00002094  6C65                     bge        +0x67 /* 000020FB */
  3176. 00002096  6172                     bsr        +0x74 /* 0000210A */
  3177. 00002098  0553                     bchg       [A3], D2
  3178. 0000209A  7061                     moveq.l    D0, 0x61
  3179. 0000209C  6365                     bls        +0x67 /* 00002103 */
  3180. 0000209E  0652 6574                addi.w     [A2], 0x6574 /* 'et' */
  3181. 000020A2  7572                     moveq.l    D2, 0x72
  3182. 000020A4  6E98                     bgt        -0x66 /* 0000203E */
  3183. 000020A6  0553                     bchg       [A3], D2
  3184. 000020A8  6869                     bvc        +0x6B /* 00002113 */
  3185. 000020AA  6674                     bne        +0x76 /* 00002120 */
  3186. export_62:
  3187. 000020AC  4E56 FDEE                link       A6, -0x0212
  3188. 000020B0  554F                     subq.w     A7, 2
  3189. 000020B2  4EBA F9A8                jsr        [PC - 0x658 /* 00001A5C */]
  3190. 000020B6  4A5F                     tst.w      [A7]+
  3191. 000020B8  56C0                     sne        D0
  3192. 000020BA  2F00                     move.l     -[A7], D0
  3193. 000020BC  554F                     subq.w     A7, 2
  3194. 000020BE  4EBA F99C                jsr        [PC - 0x664 /* 00001A5C */]
  3195. // begin alternate branch 000020C0-000020C2
  3196. label000020C0:
  3197. 000020C0  F99C                     .invalid   <<F/6/4>>
  3198. // end alternate branch 000020C0-000020C2
  3199. label000020C0: // (misaligned)
  3200. label000020C2:
  3201. 000020C2  321F                     move.w     D1, [A7]+
  3202. 000020C4  201F                     move.l     D0, [A7]+
  3203. 000020C6  0C41 0080                cmpi.w     D1, 0x80
  3204. 000020CA  56C1                     sne        D1
  3205. 000020CC  C001                     and.b      D0, D1
  3206. 000020CE  6700 00AE                beq        +0xB0 /* 0000217E */
  3207. 000020D2  486D FF5E                pea.l      [A5 - 0xA2]
  3208. 000020D6  A851                     syscall    SetCursor
  3209. 000020D8  554F                     subq.w     A7, 2
  3210. 000020DA  4EBA F980                jsr        [PC - 0x680 /* 00001A5C */]
  3211. 000020DE  301F                     move.w     D0, [A7]+
  3212. 000020E0  48C0                     ext.l      D0
  3213. 000020E2  2F00                     move.l     -[A7], D0
  3214. 000020E4  486E FEF0                pea.l      [A6 - 0x110]
  3215. 000020E8  4EBA F8FE                jsr        [PC - 0x702 /* 000019E8 */]
  3216. 000020EC  554F                     subq.w     A7, 2
  3217. 000020EE  4EBA F96C                jsr        [PC - 0x694 /* 00001A5C */]
  3218. 000020F2  0C5F FFD5                cmpi.w     [A7]+, 0xFFD5
  3219. 000020F6  5EC0                     sgt        D0
  3220. 000020F8  2F00                     move.l     -[A7], D0
  3221. 000020FA  554F                     subq.w     A7, 2
  3222. 000020FC  4EBA F95E                jsr        [PC - 0x6A2 /* 00001A5C */]
  3223. 00002100  321F                     move.w     D1, [A7]+
  3224. 00002102  201F                     move.l     D0, [A7]+
  3225. label00002104:
  3226. 00002104  0C41 FFD1                cmpi.w     D1, 0xFFD1
  3227. 00002108  5DC1                     slt        D1
  3228. fn0000210A:
  3229. 0000210A  C001                     and.b      D0, D1
  3230. 0000210C  2F00                     move.l     -[A7], D0
  3231. 0000210E  554F                     subq.w     A7, 2
  3232. 00002110  4EBA F94A                jsr        [PC - 0x6B6 /* 00001A5C */]
  3233. 00002114  321F                     move.w     D1, [A7]+
  3234. 00002116  201F                     move.l     D0, [A7]+
  3235. 00002118  0C41 FFDE                cmpi.w     D1, 0xFFDE
  3236. 0000211C  57C1                     seq        D1
  3237. 0000211E  8001                     or.b       D0, D1
  3238. label00002120:
  3239. 00002120  6726                     beq        +0x28 /* 00002148 */
  3240. 00002122  486E FDEE                pea.l      [A6 - 0x212]
  3241. 00002126  486E FEF0                pea.l      [A6 - 0x110]
  3242. 0000212A  487A 006C                pea.l      [PC + 0x6C /* 00002198, value 0x1A202844, pstring " (Disk is locked or full.)" */]
  3243. 0000212E  3F3C 0002                move.w     -[A7], 0x2
  3244. 00002132  4EBA DECC                jsr        [PC - 0x2134 /* 00000000 */]
  3245. 00002136  584F                     addq.w     A7, 4
  3246. 00002138  3F3C 00FF                move.w     -[A7], 0xFF
  3247. 0000213C  486E FDEE                pea.l      [A6 - 0x212]
  3248. 00002140  486E FEF0                pea.l      [A6 - 0x110]
  3249. 00002144  4EBA EF02                jsr        [PC - 0x10FE /* 00001048 */]
  3250. label00002148:
  3251. 00002148  486E FDEE                pea.l      [A6 - 0x212]
  3252. 0000214C  487A 003A                pea.l      [PC + 0x3A /* 00002188, value 0xF507269, pstring "Printing Error " */]
  3253. 00002150  486E FEF0                pea.l      [A6 - 0x110]
  3254. 00002154  3F3C 0002                move.w     -[A7], 0x2
  3255. 00002158  4EBA DEA6                jsr        [PC - 0x215A /* 00000000 */]
  3256. 0000215C  584F                     addq.w     A7, 4
  3257. 0000215E  486E FDEE                pea.l      [A6 - 0x212]
  3258. 00002162  487A 0022                pea.l      [PC + 0x22 /* 00002186, value 0x120F50, cstring "" */]
  3259. 00002166  487A 001C                pea.l      [PC + 0x1C /* 00002184, value 0x120012, cstring "" */]
  3260. 0000216A  487A 0016                pea.l      [PC + 0x16 /* 00002182, value 0x160012, cstring "" */]
  3261. 0000216E  A98B                     syscall    ParamText
  3262. 00002170  554F                     subq.w     A7, 2
  3263. 00002172  3F3C 05DE                move.w     -[A7], 0x5DE
  3264. 00002176  42A7                     clr.l      -[A7]
  3265. 00002178  A986                     syscall    StopAlert
  3266. 0000217A  3D5F FEEE                move.w     [A6 - 0x112], [A7]+
  3267. label0000217E:
  3268. 0000217E  4E5E                     unlink     A6
  3269. 00002180  4E75                     rts
  3270. 00002182  0016 0012                ori.b      [A6], 0x12
  3271. 00002186  0012 0F50                ori.b      [A2], 0x50 /* 'P' */
  3272. 0000218A  7269                     moveq.l    D1, 0x69
  3273. 0000218C  6E74                     bgt        +0x76 /* 00002202 */
  3274. 0000218E  696E                     bvs        +0x70 /* 000021FE */
  3275. 00002190  6720                     beq        +0x22 /* 000021B2 */
  3276. 00002192  4572 726F                chk.w      D2, [A2 + D7.w * 2 + 0x6F]
  3277. 00002196  7220                     moveq.l    D1, 0x20
  3278. 00002198  1A20                     move.b     D5, -[A0]
  3279. 0000219A  2844                     movea.l    A4, D4
  3280. 0000219C  6973                     bvs        +0x75 /* 00002211 */
  3281. 0000219E  6B20                     bmi        +0x22 /* 000021C0 */
  3282. 000021A0  6973                     bvs        +0x75 /* 00002215 */
  3283. 000021A2  206C 6F63                movea.l    A0, [A4 + 0x6F63]
  3284. 000021A6  6B65                     bmi        +0x67 /* 0000220D */
  3285. 000021A8  6420                     bcc        +0x22 /* 000021CA */
  3286. 000021AA  6F72                     ble        +0x74 /* 0000221E */
  3287. 000021AC  2066                     movea.l    A0, -[A6]
  3288. 000021AE  756C                     moveq.l    D2, 0x6C
  3289. 000021B0  6C2E                     bge        +0x30 /* 000021E0 */
  3290. label000021B2:
  3291. 000021B2  2916                     move.l     -[A4], [A6]
  3292. export_63:
  3293. 000021B4  4E56 FDEE                link       A6, -0x0212
  3294. 000021B8  554F                     subq.w     A7, 2
  3295. 000021BA  A9AF                     syscall    ResError
  3296. 000021BC  4A5F                     tst.w      [A7]+
  3297. 000021BE  660A                     bne        +0xC /* 000021CA */
  3298. label000021C0:
  3299. 000021C0  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  3300. 000021C6  6000 00A8                bra        +0xAA /* 00002270 */
  3301. label000021CA:
  3302. 000021CA  422E 0008                clr.b      [A6 + 0x8]
  3303. 000021CE  554F                     subq.w     A7, 2
  3304. 000021D0  A9AF                     syscall    ResError
  3305. 000021D2  301F                     move.w     D0, [A7]+
  3306. 000021D4  48C0                     ext.l      D0
  3307. 000021D6  2F00                     move.l     -[A7], D0
  3308. 000021D8  486E FEF0                pea.l      [A6 - 0x110]
  3309. 000021DC  4EBA F80A                jsr        [PC - 0x7F6 /* 000019E8 */]
  3310. label000021E0:
  3311. 000021E0  554F                     subq.w     A7, 2
  3312. 000021E2  A9AF                     syscall    ResError
  3313. 000021E4  0C5F FFC3                cmpi.w     [A7]+, 0xFFC3
  3314. 000021E8  57C0                     seq        D0
  3315. 000021EA  2F00                     move.l     -[A7], D0
  3316. 000021EC  554F                     subq.w     A7, 2
  3317. 000021EE  A9AF                     syscall    ResError
  3318. 000021F0  321F                     move.w     D1, [A7]+
  3319. 000021F2  201F                     move.l     D0, [A7]+
  3320. 000021F4  0C41 FFD1                cmpi.w     D1, 0xFFD1
  3321. 000021F8  5EC1                     sgt        D1
  3322. 000021FA  2F00                     move.l     -[A7], D0
  3323. 000021FC  2F01                     move.l     -[A7], D1
  3324. label000021FE:
  3325. 000021FE  554F                     subq.w     A7, 2
  3326. 00002200  A9AF                     syscall    ResError
  3327. label00002202:
  3328. 00002202  341F                     move.w     D2, [A7]+
  3329. 00002204  221F                     move.l     D1, [A7]+
  3330. 00002206  201F                     move.l     D0, [A7]+
  3331. 00002208  0C42 FFD5                cmpi.w     D2, 0xFFD5
  3332. 0000220C  5DC2                     slt        D2
  3333. 0000220E  C202                     and.b      D1, D2
  3334. 00002210  8001                     or.b       D0, D1
  3335. 00002212  6726                     beq        +0x28 /* 0000223A */
  3336. 00002214  486E FDEE                pea.l      [A6 - 0x212]
  3337. 00002218  486E FEF0                pea.l      [A6 - 0x110]
  3338. 0000221C  487A 0064                pea.l      [PC + 0x64 /* 00002282, value 0x34202855 '4 (U', pstring " (Unlock the application and/or disk and try again.)" */]
  3339. // begin alternate branch 0000221E-00002228
  3340. label0000221E:
  3341. 0000221E  0064 3F3C                ori.w      -[A4], 0x3F3C /* '?<' */
  3342. 00002222  0002 4EBA                ori.b      D2, 0xBA
  3343. 00002226  DDDA                     add.l      A6, [A2]+
  3344. // end alternate branch 0000221E-00002228
  3345. label0000221E: // (misaligned)
  3346. 00002220  3F3C 0002                move.w     -[A7], 0x2
  3347. 00002224  4EBA DDDA                jsr        [PC - 0x2226 /* 00000000 */]
  3348. 00002228  584F                     addq.w     A7, 4
  3349. 0000222A  3F3C 00FF                move.w     -[A7], 0xFF
  3350. 0000222E  486E FDEE                pea.l      [A6 - 0x212]
  3351. 00002232  486E FEF0                pea.l      [A6 - 0x110]
  3352. 00002236  4EBA EE10                jsr        [PC - 0x11F0 /* 00001048 */]
  3353. label0000223A:
  3354. 0000223A  486E FDEE                pea.l      [A6 - 0x212]
  3355. 0000223E  487A 003A                pea.l      [PC + 0x3A /* 0000227A, value 0x6457272, pstring "Error " */]
  3356. 00002242  486E FEF0                pea.l      [A6 - 0x110]
  3357. 00002246  3F3C 0002                move.w     -[A7], 0x2
  3358. 0000224A  4EBA DDB4                jsr        [PC - 0x224C /* 00000000 */]
  3359. 0000224E  584F                     addq.w     A7, 4
  3360. 00002250  486E FDEE                pea.l      [A6 - 0x212]
  3361. 00002254  487A 0022                pea.l      [PC + 0x22 /* 00002278, value 0x120645, cstring "" */]
  3362. 00002258  487A 001C                pea.l      [PC + 0x1C /* 00002276, value 0x120012, cstring "" */]
  3363. 0000225C  487A 0016                pea.l      [PC + 0x16 /* 00002274, value 0x160012, cstring "" */]
  3364. 00002260  A98B                     syscall    ParamText
  3365. 00002262  554F                     subq.w     A7, 2
  3366. 00002264  3F3C 05DE                move.w     -[A7], 0x5DE
  3367. 00002268  42A7                     clr.l      -[A7]
  3368. 0000226A  A986                     syscall    StopAlert
  3369. 0000226C  3D5F FEEE                move.w     [A6 - 0x112], [A7]+
  3370. label00002270:
  3371. 00002270  4E5E                     unlink     A6
  3372. 00002272  4E75                     rts
  3373. 00002274  0016 0012                ori.b      [A6], 0x12
  3374. 00002278  0012 0645                ori.b      [A2], 0x45 /* 'E' */
  3375. 0000227C  7272                     moveq.l    D1, 0x72
  3376. 0000227E  6F72                     ble        +0x74 /* 000022F2 */
  3377. 00002280  2012                     move.l     D0, [A2]
  3378. 00002282  3420                     move.w     D2, -[A0]
  3379. 00002284  2855                     movea.l    A4, [A5]
  3380. 00002286  6E6C                     bgt        +0x6E /* 000022F4 */
  3381. 00002288  6F63                     ble        +0x65 /* 000022ED */
  3382. 0000228A  6B20                     bmi        +0x22 /* 000022AC */
  3383. 0000228C  7468                     moveq.l    D2, 0x68
  3384. 0000228E  6520                     bcs        +0x22 /* 000022B0 */
  3385. 00002290  6170                     bsr        +0x72 /* 00002302 */
  3386. 00002292  706C                     moveq.l    D0, 0x6C
  3387. 00002294  6963                     bvs        +0x65 /* 000022F9 */
  3388. 00002296  6174                     bsr        +0x76 /* 0000230C */
  3389. 00002298  696F                     bvs        +0x71 /* 00002309 */
  3390. 0000229A  6E20                     bgt        +0x22 /* 000022BC */
  3391. 0000229C  616E                     bsr        +0x70 /* 0000230C */
  3392. 0000229E  642F                     bcc        +0x31 /* 000022CF */
  3393. 000022A0  6F72                     ble        +0x74 /* 00002314 */
  3394. 000022A2  2064                     movea.l    A0, -[A4]
  3395. 000022A4  6973                     bvs        +0x75 /* 00002319 */
  3396. 000022A6  6B20                     bmi        +0x22 /* 000022C8 */
  3397. 000022A8  616E                     bsr        +0x70 /* 00002318 */
  3398. 000022AA  6420                     bcc        +0x22 /* 000022CC */
  3399. label000022AC:
  3400. 000022AC  7472                     moveq.l    D2, 0x72
  3401. 000022AE  7920                     moveq.l    D4, 0x20
  3402. label000022B0:
  3403. 000022B0  6167                     bsr        +0x69 /* 00002319 */
  3404. 000022B2  6169                     bsr        +0x6B /* 0000231D */
  3405. 000022B4  6E2E                     bgt        +0x30 /* 000022E4 */
  3406. 000022B6  2916                     move.l     -[A4], [A6]
  3407.